1 | <?php |
||
21 | abstract class AbstractIcon implements IconInterface { |
||
22 | |||
23 | /** |
||
24 | * Name. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $name; |
||
29 | |||
30 | /** |
||
31 | * Style. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | private $style; |
||
36 | |||
37 | /** |
||
38 | * Constructor. |
||
39 | */ |
||
40 | protected function __construct() { |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function getName() { |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function getStyle() { |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function setName($name) { |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function setStyle($style) { |
||
73 | |||
74 | } |
||
75 |