From b21316248572cb27ed1f504529ad6680a473022e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 2 Jan 2024 20:42:01 +0100 Subject: gemini --- src/Support/RouteLoader.php | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/Support/RouteLoader.php (limited to 'src/Support') diff --git a/src/Support/RouteLoader.php b/src/Support/RouteLoader.php deleted file mode 100644 index ba124c5..0000000 --- a/src/Support/RouteLoader.php +++ /dev/null @@ -1,24 +0,0 @@ -setDefault('_', compact('class', 'method', 'annotation')); - } - - protected function getDefaultRouteName(\ReflectionClass $class, \ReflectionMethod $method) - { - $name = parent::getDefaultRouteName($class, $method); - - return str_replace( - '_', - '.', - str_replace('app_controller_', '', $name) - ); - } -} -- cgit v1.2.3