1 | <?php |
||
13 | final class Page implements PageInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | * |
||
18 | * @Type("string") |
||
19 | */ |
||
20 | private $identifier; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | * |
||
25 | * @Type("string") |
||
26 | */ |
||
27 | private $title; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | * |
||
32 | * @Type("string") |
||
33 | */ |
||
34 | private $content; |
||
35 | |||
36 | /** |
||
37 | * @var bool |
||
38 | * |
||
39 | * @Type("boolean") |
||
40 | */ |
||
41 | private $active; |
||
42 | |||
43 | /** |
||
44 | * @param string $identifier |
||
45 | * @param string $title |
||
46 | * @param string $content |
||
47 | * @param boolean $active |
||
48 | */ |
||
49 | public function __construct( |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function getIdentifier() |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function getTitle() |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function getContent() |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function getActive() |
||
93 | } |
||
94 |