| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class UserProfilePhotos |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Total number of profile pictures the target user has |
||
| 17 | * |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | private $total_count; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Requested profile pictures (in up to 4 sizes each) |
||
| 24 | * |
||
| 25 | * @var PhotoSize[][] |
||
| 26 | */ |
||
| 27 | private $photos; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | public function getTotalCount(): int |
||
| 33 | { |
||
| 34 | return $this->total_count; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param int $total_count |
||
| 39 | */ |
||
| 40 | public function setTotalCount(int $total_count): void |
||
| 41 | { |
||
| 42 | $this->total_count = $total_count; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return PhotoSize[][] |
||
| 47 | */ |
||
| 48 | public function getPhotos(): array |
||
| 49 | { |
||
| 50 | return $this->photos; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param PhotoSize[][] $photos |
||
| 55 | */ |
||
| 56 | public function setPhotos(array $photos): void |
||
| 59 | } |
||
| 60 | |||
| 61 | } |