Cartalyst\Sentinel\Cookies\NativeCookie::getCookie PHP Метод

getCookie() защищенный Метод

Returns a PHP cookie.
protected getCookie ( ) : mixed
Результат mixed
    protected function getCookie()
    {
        if (isset($_COOKIE[$this->options['name']])) {
            $value = $_COOKIE[$this->options['name']];
            if ($value) {
                return json_decode($value);
            }
        }
    }