public function getArg($name) { $args = $this->getArgsAsArray(); if (array_key_exists($name, $args)) { return $args[$name]; } }