コード例 #1
0
ファイル: User.php プロジェクト: romeoz/rock
 /**
  * @inheritdoc
  */
 public function removeAll()
 {
     $this->storage->remove($this->container);
 }
コード例 #2
0
 /**
  * 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]);
 }