From 09eeac3ed195b645673874e0952a8212a1712633 Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Wed, 13 Nov 2019 00:30:55 +0100 Subject: [PATCH] Removed container instance --- app/Web/View.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/Web/View.php b/app/Web/View.php index 4386e0b..d1e1aeb 100644 --- a/app/Web/View.php +++ b/app/Web/View.php @@ -16,11 +16,6 @@ use Twig\TwigFunction; class View { - /** - * @var Container - */ - private $container; - /** * @var Environment */ @@ -35,8 +30,6 @@ class View */ public function __construct(Container $container) { - $this->container = $container; - $config = $container->get('config'); $loader = new FilesystemLoader(BASE_DIR.'resources/templates');