[FEATURE] Added support for class hinting on routes as requested by #491

This commit is contained in:
Simon Sessingø
2021-03-21 05:55:18 +01:00
parent e78040aabd
commit 21d180ebc9
9 changed files with 69 additions and 35 deletions
@@ -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;
}