| 1 | <?php |
||
| 22 | class RelationshipMetadata extends ReferenceMetadata implements RelationshipMetadataInterface |
||
|
|
|||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var bool |
||
| 26 | * @internal |
||
| 27 | */ |
||
| 28 | public $ormEntity = false; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string|null |
||
| 32 | * @internal |
||
| 33 | */ |
||
| 34 | public $ormEntityClass; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @inheritdoc |
||
| 38 | */ |
||
| 39 | public function isOrmEntity() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Sets value of flag which show that reference contains ORM entity |
||
| 46 | * |
||
| 47 | * @param boolean $ormEntity |
||
| 48 | * @return $this |
||
| 49 | */ |
||
| 50 | public function setOrmEntity($ormEntity) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @inheritdoc |
||
| 59 | */ |
||
| 60 | public function getOrmEntityClass() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * Sets class of ORM entity |
||
| 67 | * |
||
| 68 | * @param string|null $entityClass |
||
| 69 | * @return $this |
||
| 70 | */ |
||
| 71 | public function setOrmEntityClass($entityClass = null) |
||
| 77 | } |