| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 47 | 1 | public function selectCollection($databaseName, $collectionName, array $options = []) |
|
| 48 | { |
||
| 49 | 1 | $debug = $this->__debugInfo(); |
|
| 50 | $options += [ |
||
| 51 | 1 | 'typeMap' => $debug['typeMap'], |
|
| 52 | ]; |
||
| 53 | |||
| 54 | 1 | return new Collection($debug['manager'], $databaseName, $collectionName, $options, $this->logger); |
|
| 55 | } |
||
| 56 | } |
||
| 57 |