Skip to content

Commit 9326ed6

Browse files
authored
remove method
1 parent 2ee46c2 commit 9326ed6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

App/Route.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ public static function group($prefix, $callback)
6363
self::setPrefix($previousPrefix);
6464
}
6565

66-
public static function closure($method, $path, $closure, $prefix = null)
67-
{
68-
// Create a new route item with the specified HTTP method, path, and closure as the controller
69-
self::$routes[] = new Core($method, self::prefixPath($path, $prefix), $closure);
70-
}
71-
7266
public static function run()
7367
{
7468
$request_method = $_SERVER['REQUEST_METHOD'];

0 commit comments

Comments
 (0)