| 1 | <?php |
||
| 27 | class Dependency |
||
|
|
|||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $id; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | private $propertyName; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Dependency constructor. |
||
| 41 | * @param string $id |
||
| 42 | * @param string $propertyName |
||
| 43 | */ |
||
| 44 | 18 | public function __construct($id, $propertyName) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 18 | public function getId() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 18 | public function getPropertyName() |
|
| 65 | } |