public function __get($name) { if (property_exists($this->_mailer, $name)) { return $this->_mailer->{$name}; } return parent::__get($name); }