| 1 | <?php |
||
| 19 | class Author implements AuthorInterface |
||
| 20 | { |
||
| 21 | protected $name; |
||
| 22 | |||
| 23 | protected $role; |
||
| 24 | |||
| 25 | protected $jobTitle = []; |
||
| 26 | |||
| 27 | protected $biography; |
||
| 28 | |||
| 29 | protected $avatarUrl; |
||
| 30 | |||
| 31 | public function getName(): ?string |
||
| 35 | |||
| 36 | public function setName(?string $name): void |
||
| 40 | |||
| 41 | public function getRole(): ?string |
||
| 45 | |||
| 46 | public function setRole(?string $role): void |
||
| 50 | |||
| 51 | public function getJobTitle(): array |
||
| 55 | |||
| 56 | public function setJobTitle(array $jobTitle): void |
||
| 60 | |||
| 61 | public function setBiography(?string $biography): void |
||
| 65 | |||
| 66 | public function getBiography(): ?string |
||
| 70 | |||
| 71 | public function getAvatarUrl(): ?string |
||
| 75 | |||
| 76 | public function setAvatarUrl(?string $avatarUrl) |
||
| 80 | } |
||
| 81 |