1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/EntityReference.php

12 lines
303 B
PHP

<?php
class EntityReference extends Doctrine_Record
{
public function setTableDefinition()
{
$this->hasColumn('entity1', 'integer', null, 'primary');
$this->hasColumn('entity2', 'integer', null, 'primary');
//$this->setPrimaryKey(array('entity1', 'entity2'));
}
}