/** * @inheritdoc */ public function removeAll() { $this->storage->remove($this->container); }
/** * Saves the number of allowed requests and the corresponding timestamp to a persistent storage. * * @param string $name name of action e.g. `FooController::actionIndex` */ public function removeAllowance($name) { $this->session->remove(['_allowance', $name]); }