mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 04:12:13 +00:00
[FEATURE] Added support for class hinting on routes as requested by #491
This commit is contained in:
@@ -78,7 +78,7 @@ class RouteResource extends LoadableRoute implements IControllerRoute
|
||||
|
||||
protected function call($method): bool
|
||||
{
|
||||
$this->setCallback($this->controller . '@' . $method);
|
||||
$this->setCallback([$this->controller, $method]);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user