1 | <?php namespace Neomerx\JsonApi\Encoder\Parameters; |
||
26 | class EncodingParameters implements EncodingParametersInterface |
||
27 | { |
||
28 | /** |
||
29 | * @var array|null |
||
30 | */ |
||
31 | private $includePaths; |
||
32 | |||
33 | /** |
||
34 | * @var array|null |
||
35 | */ |
||
36 | private $fieldSets; |
||
37 | |||
38 | /** |
||
39 | * @var SortParameterInterface[]|null |
||
40 | */ |
||
41 | private $sortParameters; |
||
42 | |||
43 | /** |
||
44 | * @var array|null |
||
45 | */ |
||
46 | private $pagingParameters; |
||
47 | |||
48 | /** |
||
49 | * @var array|null |
||
50 | */ |
||
51 | private $filteringParameters; |
||
52 | |||
53 | /** |
||
54 | * @var array|null |
||
55 | */ |
||
56 | private $unrecognizedParams; |
||
57 | |||
58 | /** |
||
59 | * @param string[]|null $includePaths |
||
60 | * @param array|null $fieldSets |
||
61 | * @param SortParameterInterface[]|null $sortParameters |
||
62 | * @param array|null $pagingParameters |
||
63 | * @param array|null $filteringParameters |
||
64 | * @param array|null $unrecognizedParams |
||
65 | */ |
||
66 | 81 | public function __construct( |
|
81 | |||
82 | /** |
||
83 | * @inheritdoc |
||
84 | */ |
||
85 | 72 | public function getIncludePaths() |
|
89 | |||
90 | /** |
||
91 | * @inheritdoc |
||
92 | */ |
||
93 | 18 | public function getFieldSets() |
|
97 | |||
98 | /** |
||
99 | * @inheritdoc |
||
100 | */ |
||
101 | 53 | public function getFieldSet($type) |
|
107 | |||
108 | /** |
||
109 | * @inheritdoc |
||
110 | */ |
||
111 | 12 | public function getSortParameters() |
|
115 | |||
116 | /** |
||
117 | * @inheritdoc |
||
118 | */ |
||
119 | 11 | public function getPaginationParameters() |
|
123 | |||
124 | /** |
||
125 | * @inheritdoc |
||
126 | */ |
||
127 | 12 | public function getFilteringParameters() |
|
131 | |||
132 | /** |
||
133 | * @inheritdoc |
||
134 | */ |
||
135 | 8 | public function getUnrecognizedParameters() |
|
139 | |||
140 | /** |
||
141 | * @inheritdoc |
||
142 | */ |
||
143 | 2 | public function isEmpty() |
|
150 | } |
||
151 |