public function __get($key) { if (array_key_exists($key, $this->mail)) { return $this->mail[$key]; } return parent::__get($key); }
public function __get($key) { if ($key == 'query') { return $this->getQuery(); } else { return parent::__get($key); } }