1 | <?php |
||
12 | abstract class AbstractUnit implements UnitInterface { |
||
13 | |||
14 | /** |
||
15 | * @var |
||
16 | */ |
||
17 | protected $unit_id; |
||
18 | |||
19 | /** |
||
20 | * @var |
||
21 | */ |
||
22 | protected $default_value; |
||
23 | |||
24 | /** |
||
25 | * @var |
||
26 | */ |
||
27 | protected $constraints; |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function getUnitId() { |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function setUnitId($unit_id) { |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getDefaultValue() { |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function setDefaultValue($default_value) { |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function setConstraints($constraints) { |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function getConstraints() { |
||
70 | |||
71 | } |
||
72 |