Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class EdmPropertyValueBinding extends EdmElement implements IPropertyValueBinding |
||
18 | { |
||
19 | /** |
||
20 | * @var IProperty |
||
21 | */ |
||
22 | private $boundProperty; |
||
23 | /** |
||
24 | * @var IExpression |
||
25 | */ |
||
26 | private $value; |
||
27 | |||
28 | /** |
||
29 | * Initializes a new instance of the EdmPropertyValueBinding class. |
||
30 | * @param IProperty $boundProperty Property that is given a value by the annotation. |
||
31 | * @param IExpression $value Expression producing the value of the annotation. |
||
32 | */ |
||
33 | public function __construct(IProperty $boundProperty, IExpression $value) |
||
34 | { |
||
35 | $this->boundProperty = $boundProperty; |
||
36 | $this->value = $value; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @inheritDoc |
||
41 | */ |
||
42 | public function getBoundProperty(): IProperty |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @inheritDoc |
||
49 | */ |
||
50 | public function getValue(): IExpression |
||
53 | } |
||
54 | } |