lib/Parameters/ParameterDefinition.php
public function getOption(string $option)
    {
        if (!$this->hasOption($option)) {
            throw ParameterException::noOption($option);
        }

        return $this->options[$option];
    }
public function getOption(string $option)
    {
        if (!$this->hasOption($option)) {
            throw ParameterException::noOption($option);
        }

        return $this->options[$option];
    }
public function getOption ( string $ option ) { if ( ! $ this -> hasOption ( $ option ) ) { throw ParameterException :: noOption ( $ option ) ; } return $ this -> options [ $ option ] ; }
Returns the provided parameter option.

@throws \Netgen\BlockManager\Exception\Parameters\ParameterException If option does not exist

@return mixed
Returns the provided parameter option .