1 | <?php |
||
23 | class ApiRequest |
||
24 | { |
||
25 | /** |
||
26 | * Query type |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | public $query; |
||
31 | |||
32 | /** |
||
33 | * Body type |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | public $body; |
||
38 | |||
39 | /** |
||
40 | * Code matcher |
||
41 | * |
||
42 | * @var Reva2\JsonApi\Annotations\Matcher |
||
43 | */ |
||
44 | public $matcher; |
||
45 | |||
46 | /** |
||
47 | * Prefix for URLs generator |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | public $urlPrefix; |
||
52 | |||
53 | /** |
||
54 | * @return array |
||
55 | */ |
||
56 | public function toArray() |
||
74 | } |