public function methodName($name) { $name = strtolower($name); if (isset($this->methodNames[$name])) { return $this->methodNames[$name]; } return null; }