Jade\Compiler\Options::getOption PHP Method

getOption() public method

Get an option from the jade engine if set or from the options array else.
public getOption ( string $option ) : mixed
$option string
return mixed
    public function getOption($option)
    {
        if (is_null($this->jade)) {
            if (!isset($this->options[$option])) {
                throw new \InvalidArgumentException("{$option} is not a valid option name.", 28);
            }
            return $this->options[$option];
        }
        return $this->jade->getOption($option);
    }