public function get($name)
    {
        return isset($this->cookies[$name]) ? $this->cookies[$name] : null;
    }
public function get($name)
    {
        return isset($this->cookies[$name]) ? $this->cookies[$name] : null;
    }
public function get ( $ name ) { return isset ( $ this -> cookies [ $ name ] ) ? $ this -> cookies [ $ name ] : null ; }
Returns a cookie by name.

@param $name
@return Cookie|null
Returns a cookie by name .