forceCheck() public method

Checks to see if a user is logged in, bypassing checkpoints
public forceCheck ( ) : Cartalyst\Sentinel\Users\UserInterface | boolean
return Cartalyst\Sentinel\Users\UserInterface | boolean
Exemplo n.º 1
0
 /**
  * Checks to see if a user is logged in, bypassing checkpoints
  *
  * @return User|bool
  */
 public function forceCheck()
 {
     return $this->sentinel->forceCheck();
 }
Exemplo n.º 2
0
 /**
  * Checks to see if a user is logged in, bypassing checkpoints
  *
  * @return \Cartalyst\Sentinel\Users\UserInterface|bool 
  * @static 
  */
 public static function forceCheck()
 {
     return \Cartalyst\Sentinel\Sentinel::forceCheck();
 }