Neos\FluidAdaptor\View\AbstractTemplateView::getOption PHP Method

getOption() public method

Get a specific option of this View
public getOption ( string $optionName ) : mixed
$optionName string
return mixed
    public function getOption($optionName)
    {
        if (!array_key_exists($optionName, $this->supportedOptions)) {
            throw new \Neos\Flow\Mvc\Exception(sprintf('The view option "%s" you\'re trying to get doesn\'t exist in class "%s".', $optionName, get_class($this)), 1359625876);
        }
        return $this->options[$optionName];
    }