/** * Logout from user instance. * * Usage: * * <code>\Hybrid\Auth::instance('user')->logout();</code> * * @access public * @return bool */ public function logout($redirect = true) { $this->provider->logout(); return true; }
public function __construct($provider) { parent::__construct($provider); $this->provider = Auth_Provider_Normal::make(); return $this; }