| Total Complexity | 6 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class MongoDbStorage implements StorageInterface |
||
| 19 | { |
||
| 20 | public function __construct(string $mongodbUrl) |
||
|
|
|||
| 21 | { |
||
| 22 | } |
||
| 23 | |||
| 24 | public function get(string $bucket, string $key) |
||
| 25 | { |
||
| 26 | // TODO: Implement get() method. |
||
| 27 | } |
||
| 28 | |||
| 29 | public function set(string $bucket, string $key, $value, int $expiresAfterSeconds): void |
||
| 30 | { |
||
| 31 | // TODO: Implement set() method. |
||
| 32 | } |
||
| 33 | |||
| 34 | public function exists(string $bucket, string $key): bool |
||
| 35 | { |
||
| 36 | // TODO: Implement exists() method. |
||
| 37 | } |
||
| 38 | |||
| 39 | public function remove(string $bucket, string $key): void |
||
| 41 | // TODO: Implement remove() method. |
||
| 42 | } |
||
| 43 | |||
| 44 | public function removeBucket(string $bucket): void |
||
| 46 | // TODO: Implement removeBucket() method. |
||
| 47 | } |
||
| 48 | } |
||
| 49 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.