public function remove($key) { $collection = $this->getCollectionName(); $this->mongo->{$collection}->remove(['name' => $key]); }
public function testRemove() { $adapter = new MongoDBStorageAdapter($this->mongo); $adapter->remove('key'); }