1 | <?php |
||
13 | abstract class PropertyAbstract implements PropertyFilterInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | protected $properties = []; |
||
19 | |||
20 | /** |
||
21 | * Allowed constructor. |
||
22 | * |
||
23 | * @param array $properties |
||
24 | */ |
||
25 | public function __construct(array $properties = []) |
||
29 | |||
30 | /** |
||
31 | * @return array |
||
32 | */ |
||
33 | public function getProperties() : array |
||
37 | |||
38 | /** |
||
39 | * @param array $properties |
||
40 | * |
||
41 | * @return PropertyAbstract |
||
42 | */ |
||
43 | public function setProperties(array $properties) : self |
||
53 | |||
54 | /** |
||
55 | * @param string $property |
||
56 | * |
||
57 | * @return PropertyAbstract |
||
58 | */ |
||
59 | public function addProperty(string $property) : self |
||
68 | } |
||
69 |