@@ -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) { |
@@ -29,11 +29,17 @@ |
||
| 29 | 29 | return $this->getSchema()->getSpace($space)->getRepository(); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | + /** |
|
| 33 | + * @param string $space |
|
| 34 | + */ |
|
| 32 | 35 | public function findOne($space, $params = []) |
| 33 | 36 | { |
| 34 | 37 | return $this->getRepository($space)->findOne($params); |
| 35 | 38 | } |
| 36 | 39 | |
| 40 | + /** |
|
| 41 | + * @param string $space |
|
| 42 | + */ |
|
| 37 | 43 | public function find($space, $params = []) |
| 38 | 44 | { |
| 39 | 45 | return $this->getRepository($space)->find($params); |