| 1 | <?php |
||
| 5 | abstract class AbstractAssociation |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * The name of the property that refers to the current class. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $associatedProperty; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The name of the class of the property. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $className; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Initializes the annotation. |
||
| 23 | * |
||
| 24 | * @param mixed $values The name of the property that refers to the current class. |
||
| 25 | */ |
||
| 26 | 7 | public function __construct($values) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Get the name of the property that refers to the current class. |
||
| 34 | * |
||
| 35 | * @return string The value. |
||
| 36 | */ |
||
| 37 | 6 | public function getAssociatedProperty() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Get the name of the class of the property. |
||
| 44 | * |
||
| 45 | * @return string The value. |
||
| 46 | */ |
||
| 47 | 6 | public function getClassName() |
|
| 51 | } |
||
| 52 |