|
|
|
|
@ -43,6 +43,7 @@ class App { |
|
|
|
|
* stored in the DI container |
|
|
|
|
* @param string $methodName the method that you want to call |
|
|
|
|
* @param DIContainer $container an instance of a pimple container. |
|
|
|
|
* @param array $urlParams list of URL parameters (optional) |
|
|
|
|
*/ |
|
|
|
|
public static function main($controllerName, $methodName, DIContainer $container, array $urlParams = null) { |
|
|
|
|
if (!is_null($urlParams)) { |
|
|
|
|
|