| 1 | <?php |
||
| 12 | abstract class AbstractRelation implements RelationInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $table; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $joinColumnName; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $joinColumnReferencedColumnName; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $entityName; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * AbstractRelation constructor. |
||
| 36 | * |
||
| 37 | * @param array $data |
||
| 38 | */ |
||
| 39 | 7 | public function __construct(array $data) |
|
| 45 | |||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | 2 | public function getTable() |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | 2 | public function getJoinColumnName() |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | 2 | public function getJoinColumnReferencedColumnName() |
|
| 70 | |||
| 71 | /** |
||
| 72 | * @return string |
||
| 73 | */ |
||
| 74 | 2 | public function getEntityName() |
|
| 78 | } |
||
| 79 |