@@ -31,6 +31,9 @@ |
||
31 | 31 | return $response; |
32 | 32 | } |
33 | 33 | |
34 | + /** |
|
35 | + * @param double $start |
|
36 | + */ |
|
34 | 37 | private function log($start, $class, $request = [], $response = []) |
35 | 38 | { |
36 | 39 | if ($this->logging) { |
@@ -270,6 +270,9 @@ |
||
270 | 270 | $this->results = []; |
271 | 271 | } |
272 | 272 | |
273 | + /** |
|
274 | + * @param Entity $instance |
|
275 | + */ |
|
273 | 276 | public function save($instance) |
274 | 277 | { |
275 | 278 | $key = $this->space->getInstanceKey($instance); |
@@ -183,6 +183,9 @@ |
||
183 | 183 | return $this->getData($entity, $id, $date, '_temporal_override_aggregate'); |
184 | 184 | } |
185 | 185 | |
186 | + /** |
|
187 | + * @param string $space |
|
188 | + */ |
|
186 | 189 | private function getData($entity, $id, $date, $space) |
187 | 190 | { |
188 | 191 | $entity = $this->entityNameToId($entity); |
@@ -258,6 +258,9 @@ |
||
258 | 258 | } |
259 | 259 | } |
260 | 260 | |
261 | + /** |
|
262 | + * @param \Closure $callback |
|
263 | + */ |
|
261 | 264 | private function generateStates($changes, $callback) |
262 | 265 | { |
263 | 266 | $slices = []; |
@@ -275,6 +275,11 @@ |
||
275 | 275 | return $this->formatNamesHash[$name]; |
276 | 276 | } |
277 | 277 | |
278 | + /** |
|
279 | + * @param string $name |
|
280 | + * |
|
281 | + * @return string |
|
282 | + */ |
|
278 | 283 | public function getReference($name) |
279 | 284 | { |
280 | 285 | return $this->isReference($name) ? $this->formatReferences[$name] : null; |
@@ -49,6 +49,9 @@ |
||
49 | 49 | return $entity; |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param Space $space |
|
54 | + */ |
|
52 | 55 | private function generateValue($space) |
53 | 56 | { |
54 | 57 | $entity = $this->initializeSequence($space); |