1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/models/RelationTestChild.php

11 lines
265 B
PHP
Raw Normal View History

<?php
class RelationTestChild extends RelationTest
{
public function setUp()
{
$this->hasOne('RelationTest as Parent', 'RelationTestChild.child_id');
$this->ownsMany('RelationTestChild as Children', 'RelationTestChild.child_id');
}
}