/** * {@inheritDoc} * * Normalizes dash-separated keys to underscore-separated to ensure * backwards compatibility with old options (even though dash-separated * were previously ignored!). * * @see \Zend\Stdlib\ParameterObject::__get() * @param string $key * @throws \Zend\Stdlib\Exception\BadMethodCallException * @return mixed */ public function __get($key) { return parent::__get(str_replace('-', '_', $key)); }