Configuration/EventHandler/AbstractEventHandler.php
public function get(string $option)
    {
        if (!isset($this->options[$option])) {
            throw new \InvalidArgumentException(sprintf('Option "%s" does not exists.', $option));
        }

        return $this->options[$option];
    }
public function get(string $option)
    {
        if (!isset($this->options[$option])) {
            throw new \InvalidArgumentException(sprintf('Option "%s" does not exists.', $option));
        }

        return $this->options[$option];
    }
public function get ( string $ option ) { if ( ! isset ( $ this -> options [ $ option ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Option "%s" does not exists.' , $ option ) ) ; } return $ this -> options [ $ option ] ; }
Returns options value by its name

@param string $option

@return mixed
@throws \InvalidArgumentException
Returns options value by its name