1 | <?php |
||
29 | class PhotosResponse extends AbstractResponse implements PaginateResponseInterface { |
||
30 | |||
31 | use IntegerPageTrait; |
||
32 | use IntegerPerPageTrait; |
||
33 | use IntegerTotalResultsTrait; |
||
34 | use StringNextPageTrait; |
||
35 | use StringPrevPageTrait; |
||
36 | use StringUrlTrait; |
||
37 | |||
38 | /** |
||
39 | * Constructor. |
||
40 | */ |
||
41 | public function __construct() { |
||
44 | |||
45 | /** |
||
46 | * Add a photo. |
||
47 | * |
||
48 | * @param Photo $photo The photo. |
||
49 | * @return PhotosResponse Returns this photo response. |
||
50 | */ |
||
51 | public function addPhoto(Photo $photo): PhotosResponse { |
||
54 | |||
55 | /** |
||
56 | * Get the photos. |
||
57 | * |
||
58 | * @return Photo[] Returns the photos. |
||
59 | */ |
||
60 | public function getPhotos(): array { |
||
63 | } |
||
64 |