public function __call($name, array $args) { if (!isset($this->info()[$name])) { trigger_error(sprintf('Call to undefined method %s::%s', __CLASS__, $name), E_USER_ERROR); } return $this->info()[$name]; }