1 | <?php |
||
9 | class Revision { |
||
10 | |||
11 | private $id; |
||
12 | private $model; |
||
13 | private $format; |
||
14 | private $text; |
||
15 | private $timeStamp; |
||
16 | |||
17 | /** |
||
18 | * @param string|int $id |
||
19 | * @param string $model |
||
20 | * @param string $format |
||
21 | * @param string $text |
||
22 | * @param string $timeStamp |
||
23 | */ |
||
24 | public function __construct( $id, $model, $format, $text, $timeStamp ) { |
||
31 | |||
32 | /** |
||
33 | * @return int |
||
34 | */ |
||
35 | public function getId() { |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getModel() { |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getFormat() { |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getText() { |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | public function getTimeStamp() { |
||
66 | |||
67 | /** |
||
68 | * @return bool |
||
69 | */ |
||
70 | public function hasEntityModel() { |
||
73 | |||
74 | } |
||
75 |