public function get($key)
    {
        if ($this->has($key)) {
            return $this->cookies[$key];
        } else {
            throw new RuntimeException(sprintf(
                'Attempted to read non-existing cookie "%s"', $key
            ));
        }
    }
public function get($key)
    {
        if ($this->has($key)) {
            return $this->cookies[$key];
        } else {
            throw new RuntimeException(sprintf(
                'Attempted to read non-existing cookie "%s"', $key
            ));
        }
    }
public function get ( $ key ) { if ( $ this -> has ( $ key ) ) { return $ this -> cookies [ $ key ] ; } else { throw new RuntimeException ( sprintf ( 'Attempted to read non-existing cookie "%s"' , $ key ) ) ; } }
Retrieves a key form cookies

@param string $key
@throws \RuntimeException if $key does not exist in cookies`
@return string
Retrieves a key form cookies