11 lines
281 B
PHP
11 lines
281 B
PHP
<?php
|
|
class EntityReference extends Doctrine_Entity
|
|
{
|
|
public static function initMetadata($class)
|
|
{
|
|
$class->setColumn('entity1', 'integer', null, array('primary' => true));
|
|
$class->setColumn('entity2', 'integer', null, array('primary' => true));
|
|
}
|
|
}
|
|
|