| 1 | <?php |
||
| 5 | class TldrPage |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var String |
||
| 9 | */ |
||
| 10 | private $name; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var String |
||
| 14 | */ |
||
| 15 | private $platform; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var String |
||
| 19 | */ |
||
| 20 | private $content; |
||
| 21 | |||
| 22 | public function __construct(String $name, String $platform, String $content) |
||
| 23 | { |
||
| 24 | $this->name = $name; |
||
| 25 | $this->platform = $platform; |
||
| 26 | $this->content = $content; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return String |
||
| 31 | */ |
||
| 32 | public function getName() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return String |
||
| 39 | */ |
||
| 40 | public function getPlatform() |
||
| 41 | { |
||
| 42 | return $this->platform; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return String |
||
| 47 | */ |
||
| 48 | public function getContent() |
||
| 52 | } |
||
| 53 |