| 1 | <?php |
||
| 9 | class EntityPage { |
||
| 10 | |||
| 11 | private $entityJson; |
||
| 12 | private $title; |
||
| 13 | private $namespaceId; |
||
| 14 | private $revisionId; |
||
| 15 | private $revisionTime; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $entityJson |
||
| 19 | * @param string $title |
||
| 20 | * @param string|int $namespaceId |
||
| 21 | * @param string|int $revisionId |
||
| 22 | * @param string $revisionTime |
||
| 23 | */ |
||
| 24 | 2 | public function __construct( string $entityJson, string $title, $namespaceId, $revisionId, string $revisionTime ) { |
|
| 31 | |||
| 32 | 1 | public function getEntityJson(): string { |
|
| 35 | |||
| 36 | 1 | public function getTitle(): string { |
|
| 39 | |||
| 40 | public function getNamespaceId(): int { |
||
| 43 | |||
| 44 | 1 | public function getRevisionId(): int { |
|
| 47 | |||
| 48 | 1 | public function getRevisionTime(): string { |
|
| 51 | |||
| 52 | } |
||
| 53 |