/** * override defaults __get method to allow get options easier * * @param mixed $name * @return mixed */ function __get($name) { try { return parent::__get($name); } catch (exception $e) { if (isset($this->_options[$name])) { return $this->_options[$name]; } throw $e; } }