1 | <?php namespace Neomerx\JsonApi\Encoder; |
||
25 | class EncodingParameters implements EncodingParametersInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var array|null |
||
29 | */ |
||
30 | private $includePaths; |
||
31 | |||
32 | /** |
||
33 | * @var array|null |
||
34 | */ |
||
35 | private $fieldSets; |
||
36 | |||
37 | /** |
||
38 | * @param array|null $includePaths |
||
39 | * @param array|null $fieldSets |
||
40 | */ |
||
41 | 88 | public function __construct(array $includePaths = null, array $fieldSets = null) |
|
46 | |||
47 | /** |
||
48 | * @inheritdoc |
||
49 | */ |
||
50 | 72 | public function getIncludePaths() |
|
54 | |||
55 | /** |
||
56 | * @inheritdoc |
||
57 | */ |
||
58 | 19 | public function getFieldSets() |
|
62 | |||
63 | /** |
||
64 | * @inheritdoc |
||
65 | */ |
||
66 | 52 | public function getFieldSet($type) |
|
72 | } |
||
73 |