Exemplo n.º 1
0
 /**
  * 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;
 }