1 | <?php |
||
24 | class Page implements TimestampableInterface, PageInterface, EnableableInterface |
||
25 | { |
||
26 | use TimestampableTrait, EnableableTrait; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | protected $id; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $pageId; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $name; |
||
42 | |||
43 | /** |
||
44 | * @var string |
||
45 | */ |
||
46 | protected $accessToken; |
||
47 | |||
48 | /** |
||
49 | * @var ApplicationInterface |
||
50 | */ |
||
51 | protected $application; |
||
52 | |||
53 | /** |
||
54 | * Page constructor. |
||
55 | */ |
||
56 | 5 | public function __construct() |
|
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | 1 | public function getId() |
|
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | 5 | public function getPageId() |
|
76 | |||
77 | /** |
||
78 | * @param string $pageId |
||
79 | */ |
||
80 | 5 | public function setPageId(string $pageId) |
|
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | 5 | public function getName() |
|
92 | |||
93 | /** |
||
94 | * @param string $name |
||
95 | */ |
||
96 | 5 | public function setName(string $name) |
|
100 | |||
101 | /** |
||
102 | * {@inheritdoc} |
||
103 | */ |
||
104 | public function getAccessToken() |
||
108 | |||
109 | /** |
||
110 | * {@inheritdoc} |
||
111 | */ |
||
112 | public function setAccessToken(string $accessToken) |
||
116 | |||
117 | /** |
||
118 | * @return ApplicationInterface |
||
119 | */ |
||
120 | 1 | public function getApplication() |
|
124 | |||
125 | /** |
||
126 | * @param ApplicationInterface $application |
||
127 | */ |
||
128 | public function setApplication(ApplicationInterface $application) |
||
132 | } |
||
133 |