Cartalyst\Sentinel\Cookies\CookieInterface::get PHP Method

get() public method

Returns the Sentinel cookie value.
public get ( ) : mixed
return mixed
    public function get();

Usage Example

 /**
  * {@inheritDoc}
  */
 public function check()
 {
     if ($code = $this->session->get()) {
         return $code;
     }
     if ($code = $this->cookie->get()) {
         return $code;
     }
 }
CookieInterface