public function get($name)
    {
        $key = mb_strtolower($name);
        foreach ($this->cookies as $cookie) {
            if (mb_strtolower($cookie->getName()) === $key) {
                return $cookie;
            }
        }

        return null;
    }
public function get($name)
    {
        $key = mb_strtolower($name);
        foreach ($this->cookies as $cookie) {
            if (mb_strtolower($cookie->getName()) === $key) {
                return $cookie;
            }
        }

        return null;
    }
public function get ( $ name ) { $ key = mb_strtolower ( $ name ) ; foreach ( $ this -> cookies as $ cookie ) { if ( mb_strtolower ( $ cookie -> getName ( ) ) === $ key ) { return $ cookie ; } } return null ; }
Get the first cookie by name.

@param string $name The name of the cookie.
@return \Cake\Http\Cookie\CookieInterface|null
Get the first cookie by name .