| 1 | <?php |
||
| 7 | class MongoCollection |
||
| 8 | { |
||
| 9 | private $collection = null; |
||
| 10 | private $mongo = null; |
||
| 11 | |||
| 12 | public function __construct($collection, $mongo = null) |
||
| 17 | |||
| 18 | protected function getManager() |
||
| 23 | |||
| 24 | protected function getDatabase() |
||
| 29 | |||
| 30 | public function count($query = []) |
||
| 39 | |||
| 40 | public function saveAll(array $docs):bool |
||
| 51 | } |
||
| 52 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.