コード例 #1
0
ファイル: Guard.php プロジェクト: nova-framework/cms
 /**
  * Log the given user ID into the application without sessions or cookies.
  *
  * @param  mixed  $id
  * @return bool
  */
 public function onceUsingId($id)
 {
     $this->setUser($this->provider->retrieveById($id));
     return $this->user instanceof UserInterface;
 }