| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class CountCommand extends Command |
||
| 8 | { |
||
| 9 | private $command = 'COUNT'; |
||
| 10 | private $parameters = []; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Counts the number of objects |
||
| 14 | * CountCommand constructor. |
||
| 15 | * @param string $collection |
||
| 16 | * @param string|null $bucket |
||
| 17 | * @param string|null $object |
||
| 18 | */ |
||
| 19 | public function __construct(string $collection, string $bucket = null, string $object = null) |
||
| 28 | } |
||
| 29 | } |