1 | <?php |
||
30 | class VideosRequestParameters |
||
31 | { |
||
32 | private $container = []; |
||
33 | |||
34 | function __get($name) |
||
42 | |||
43 | /** |
||
44 | * @param $name string Key |
||
45 | * @param $value string Value |
||
46 | * |
||
47 | * @return VideosRequestParameters |
||
48 | */ |
||
49 | public function __set($name, $value) |
||
54 | |||
55 | /** |
||
56 | * @param string $order |
||
57 | * @return VideosRequestParameters |
||
58 | */ |
||
59 | public function setOrder($order) |
||
70 | |||
71 | /** |
||
72 | * @param bool $includeCustomMetadata |
||
73 | * @return VideosRequestParameters |
||
74 | */ |
||
75 | public function setIncludeCustomMetadata($includeCustomMetadata) |
||
80 | |||
81 | /** |
||
82 | * @param bool $includeKeywords |
||
83 | * @return VideosRequestParameters |
||
84 | */ |
||
85 | public function setIncludeKeywords($includeKeywords) |
||
90 | |||
91 | /** |
||
92 | * @return array |
||
93 | */ |
||
94 | public function getContainer() |
||
98 | } |
||
99 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.