1 | <?php |
||
5 | abstract class AbstractParams |
||
6 | { |
||
7 | // locations |
||
8 | const QUERY = 'query'; |
||
9 | const HEADER = 'header'; |
||
10 | const URL = 'url'; |
||
11 | const JSON = 'json'; |
||
12 | const RAW = 'raw'; |
||
13 | |||
14 | // types |
||
15 | const STRING_TYPE = "string"; |
||
16 | const BOOL_TYPE = "boolean"; |
||
17 | const OBJECT_TYPE = "object"; |
||
18 | const ARRAY_TYPE = "array"; |
||
19 | const NULL_TYPE = "NULL"; |
||
20 | const INT_TYPE = 'integer'; |
||
21 | |||
22 | public static function isSupportedLocation($val) |
||
26 | |||
27 | public function limit() |
||
38 | |||
39 | public function marker() |
||
51 | |||
52 | public function id($type) |
||
59 | |||
60 | public function name($resource) |
||
67 | } |
||
68 |