src/Event/Base/EventDispatcher.php
public function getConfiguration($option = null)
    {
        if (!is_null($option)) {
            return $this->options[$option];
        }

        return $this->options;
    }
public function getConfiguration($option = null)
    {
        if (!is_null($option)) {
            return $this->options[$option];
        }

        return $this->options;
    }
public function getConfiguration ( $ option = null ) { if ( ! is_null ( $ option ) ) { return $ this -> options [ $ option ] ; } return $ this -> options ; }
get complete object configuration or value of single option

@param $option string|null
@return mixed
get complete object configuration or value of single option