public function parse(Request $request)
    {
        if ($this->decrypt && $request->hasCookie($this->key)) {
            return Crypt::decrypt($request->cookie($this->key));
        }

        return $request->cookie($this->key);
    }
public function parse(Request $request)
    {
        if ($this->decrypt && $request->hasCookie($this->key)) {
            return Crypt::decrypt($request->cookie($this->key));
        }

        return $request->cookie($this->key);
    }
public function parse ( Request $ request ) { if ( $ this -> decrypt && $ request -> hasCookie ( $ this -> key ) ) { return Crypt :: decrypt ( $ request -> cookie ( $ this -> key ) ) ; } return $ request -> cookie ( $ this -> key ) ; }
Try to parse the token from the request cookies.

@param  \Illuminate\Http\Request  $request

@return null|string
Try to parse the token from the request cookies .