public function getMethodByName(string $name) : Method { return $this->method_map[strtolower($name)]; }