public function getCookieData($name)
    {
        $this->buildCookieCollection();

        if (!$this->cookies->has($name)) {
            return null;
        }

        $cookie = $this->cookies->get($name);

        return $this->convertCookieToArray($cookie);
    }
public function getCookieData($name)
    {
        $this->buildCookieCollection();

        if (!$this->cookies->has($name)) {
            return null;
        }

        $cookie = $this->cookies->get($name);

        return $this->convertCookieToArray($cookie);
    }
public function getCookieData ( $ name ) { $ this -> buildCookieCollection ( ) ; if ( ! $ this -> cookies -> has ( $ name ) ) { return null ; } $ cookie = $ this -> cookies -> get ( $ name ) ; return $ this -> convertCookieToArray ( $ cookie ) ; }
Get the full data for a single cookie.

@param string $name The name of the cookie value.
@return array|null Either the cookie's data or null when the cookie is undefined.
Get the full data for a single cookie .