diff options
Diffstat (limited to 'src/helpers.php')
-rw-r--r-- | src/helpers.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helpers.php b/src/helpers.php index 733b902d..b942068f 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -1,15 +1,15 @@ <?php // Some useful functions +use Engelsystem\Application; use Engelsystem\Config\Config; -use Engelsystem\Container\Container; use Engelsystem\Http\Request; use Engelsystem\Renderer\Renderer; use Engelsystem\Routing\UrlGenerator; use Symfony\Component\HttpFoundation\Session\SessionInterface; /** - * Get the global container instance + * Get the global app instance * * @param string $id * @return mixed @@ -17,10 +17,10 @@ use Symfony\Component\HttpFoundation\Session\SessionInterface; function app($id = null) { if (is_null($id)) { - return Container::getInstance(); + return Application::getInstance(); } - return Container::getInstance()->get($id); + return Application::getInstance()->get($id); } /** |