1 | <?php |
||
16 | class SdkClient |
||
17 | { |
||
18 | /** |
||
19 | * @var RestClient |
||
20 | */ |
||
21 | protected $restClient; |
||
22 | |||
23 | /** |
||
24 | * @var Mapping |
||
25 | */ |
||
26 | private $mapping; |
||
27 | |||
28 | /** |
||
29 | * @var Serializer |
||
30 | */ |
||
31 | private $serializer; |
||
32 | |||
33 | /** |
||
34 | * @var ModelHydrator |
||
35 | */ |
||
36 | private $modelHydrator; |
||
37 | |||
38 | /** |
||
39 | * @var array |
||
40 | */ |
||
41 | private $repositoryList = []; |
||
42 | |||
43 | /** |
||
44 | * proxyManagerConfig |
||
45 | * |
||
46 | * @var Configuration |
||
47 | * @access private |
||
48 | */ |
||
49 | private $proxyManagerConfig; |
||
50 | |||
51 | /** |
||
52 | * Cache item pool. |
||
53 | * |
||
54 | * @var CacheItemPoolInterface |
||
55 | * @access private |
||
56 | */ |
||
57 | protected $cacheItemPool; |
||
58 | |||
59 | /** |
||
60 | * Cache prefix. |
||
61 | * |
||
62 | * @var string |
||
63 | * @access private |
||
64 | */ |
||
65 | protected $cachePrefix; |
||
66 | |||
67 | /** |
||
68 | * unitOfWork |
||
69 | * |
||
70 | * @var UnitOfWork |
||
71 | * @access private |
||
72 | */ |
||
73 | private $unitOfWork; |
||
74 | |||
75 | /** |
||
76 | * Constructor. |
||
77 | * |
||
78 | * @param RestClient $restClient |
||
79 | * @param Mapping $mapping |
||
80 | * @param Serializer|null $serializer |
||
81 | */ |
||
82 | public function __construct(RestClient $restClient, Mapping $mapping, UnitOfWork $unitOfWork, Serializer $serializer = null) |
||
96 | |||
97 | /** |
||
98 | * setCacheItemPool |
||
99 | * |
||
100 | * @param CacheItemPoolInterface $cacheItemPool |
||
101 | * @access public |
||
102 | * @return SdkClient |
||
103 | */ |
||
104 | public function setCacheItemPool(CacheItemPoolInterface $cacheItemPool, $cachePrefix = '') |
||
111 | |||
112 | /** |
||
113 | * getCacheItemPool |
||
114 | * |
||
115 | * @return ?CacheItemPoolInterface |
||
|
|||
116 | */ |
||
117 | public function getCacheItemPool() |
||
121 | |||
122 | /** |
||
123 | * getCachePrefix |
||
124 | * |
||
125 | * @access public |
||
126 | * @return string |
||
127 | */ |
||
128 | public function getCachePrefix() |
||
132 | |||
133 | /** |
||
134 | * getRepository |
||
135 | * |
||
136 | * @param string $modelName |
||
137 | * @access public |
||
138 | * @return EntityRepository |
||
139 | */ |
||
140 | public function getRepository($modelName) |
||
157 | |||
158 | /** |
||
159 | * getRestClient |
||
160 | * |
||
161 | * @access public |
||
162 | * @return RestClient |
||
163 | */ |
||
164 | public function getRestClient() |
||
168 | |||
169 | /** |
||
170 | * getMapping |
||
171 | * |
||
172 | * @access public |
||
173 | * @return Mapping |
||
174 | */ |
||
175 | public function getMapping() |
||
179 | |||
180 | /** |
||
181 | * getSerializer |
||
182 | * |
||
183 | * @access public |
||
184 | * @return Serializer |
||
185 | */ |
||
186 | public function getSerializer() |
||
190 | |||
191 | /** |
||
192 | * getModelHydrator |
||
193 | * |
||
194 | * @access public |
||
195 | * @return ModelHydrator |
||
196 | */ |
||
197 | public function getModelHydrator() |
||
201 | |||
202 | /** |
||
203 | * createProxy |
||
204 | * |
||
205 | * @param string $id |
||
206 | * @access public |
||
207 | * @return \ProxyManager\Proxy\GhostObjectInterface |
||
208 | */ |
||
209 | public function createProxy($id) |
||
280 | |||
281 | /** |
||
282 | * Setter for fileCachePath |
||
283 | * |
||
284 | * @param string $fileCachePath |
||
285 | * @return SdkClient |
||
286 | */ |
||
287 | public function setFileCachePath($fileCachePath) |
||
296 | } |
||
297 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.