public function getDirective($key)
    {
        if (array_key_exists($key, $this->directives)) {
            return $this->directives[$key];
        }

        return null;
    }
public function getDirective($key)
    {
        if (array_key_exists($key, $this->directives)) {
            return $this->directives[$key];
        }

        return null;
    }
public function getDirective ( $ key ) { if ( array_key_exists ( $ key , $ this -> directives ) ) { return $ this -> directives [ $ key ] ; } return null ; }
Returns a directive from the parsed list.

@param string $key

@return string|null
Returns a directive from the parsed list .