1 | <?php |
||
12 | class Book |
||
13 | { |
||
14 | private $authorName; |
||
15 | |||
16 | private $authorEmail; |
||
17 | |||
18 | private $title; |
||
19 | |||
20 | private $price; |
||
21 | |||
22 | private $year; |
||
23 | |||
24 | public function __construct($authorName, $authorEmail, $title, $price, $year) |
||
32 | |||
33 | /** |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function getAuthorName() |
||
40 | |||
41 | /** |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function getAuthorEmail() |
||
48 | |||
49 | /** |
||
50 | * @return mixed |
||
51 | */ |
||
52 | public function getTitle() |
||
56 | |||
57 | /** |
||
58 | * @return mixed |
||
59 | */ |
||
60 | public function getPrice() |
||
64 | |||
65 | /** |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public function getYear() |
||
72 | } |