Initial commit of LightMVC framework files.
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Core;
|
||||
|
||||
class Controller
|
||||
{
|
||||
public function render($view, $params = [])
|
||||
{
|
||||
return Application::$app->router->renderView($view, $params);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user