protected function getCookie()
    {
        if (isset($_COOKIE[$this->options['name']])) {
            $value = $_COOKIE[$this->options['name']];

            if ($value) {
                return json_decode($value);
            }
        }
    }
protected function getCookie()
    {
        if (isset($_COOKIE[$this->options['name']])) {
            $value = $_COOKIE[$this->options['name']];

            if ($value) {
                return json_decode($value);
            }
        }
    }
protected function getCookie ( ) { if ( isset ( $ _COOKIE [ $ this -> options [ 'name' ] ] ) ) { $ value = $ _COOKIE [ $ this -> options [ 'name' ] ] ; if ( $ value ) { return json_decode ( $ value ) ; } } }
Returns a PHP cookie.

@return mixed
Returns a PHP cookie .