name = $path; } $defaults = array_merge([ "_" => [ "action" => $action, ], ], $defaults); parent::__construct($path, $defaults, $requirements, $options, $host, $schemes, $methods, $condition); } public function getName(): string { return $this->name; } }