1 | <?php |
||
25 | class SearchPhotosRequest extends AbstractRequest { |
||
26 | |||
27 | use IntegerPageTrait; |
||
28 | use IntegerPerPageTrait; |
||
29 | use StringQueryTrait; |
||
30 | |||
31 | /** |
||
32 | * Search photos resource path. |
||
33 | * |
||
34 | * @var string |
||
35 | */ |
||
36 | const SEARCH_PHOTOS_RESOURCE_PATH = "/v1/search"; |
||
37 | |||
38 | /** |
||
39 | * Locale. |
||
40 | * |
||
41 | * @var string |
||
42 | */ |
||
43 | private $locale; |
||
44 | |||
45 | /** |
||
46 | * Get the locale. |
||
47 | * |
||
48 | * @return string Returns the locale. |
||
49 | */ |
||
50 | public function getLocale() { |
||
53 | |||
54 | /** |
||
55 | * Set the locale. |
||
56 | * |
||
57 | * @param string $locale The locale. |
||
58 | * @return SearchPhotosRequest Returns this search photos request. |
||
59 | */ |
||
60 | public function setLocale($locale) { |
||
64 | |||
65 | /** |
||
66 | * Constructor. |
||
67 | */ |
||
68 | public function __construct() { |
||
73 | |||
74 | /** |
||
75 | * {@inheritDoc} |
||
76 | */ |
||
77 | public function getResourcePath() { |
||
80 | } |
||
81 |