public function get(string $directive, $default = null)
    {
        return $this->has($directive) ? $this->definition[$directive] : $default;
    }
public function get(string $directive, $default = null)
    {
        return $this->has($directive) ? $this->definition[$directive] : $default;
    }
public function get ( string $ directive , $ default = null ) { return $ this -> has ( $ directive ) ? $ this -> definition [ $ directive ] : $ default ; }
Get the value for a directive if it exists, otherwise return a default.

@param string     $directive
@param mixed|null $default

@return mixed|null
Get the value for a directive if it exists otherwise return a default .