From 08bb995ce7b1f1f4442b5bd35020c4db3476529e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D1=80=D0=B0?= =?UTF-8?q?=D1=81=D0=B8=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA=D0=BE=D0=B2?= Date: Thu, 29 Dec 2016 14:17:24 +0300 Subject: [PATCH] NavigationRegistry should not use deprecated ContainerAware Use ContainerAwareInterface instead. See http://api.symfony.com/3.0/Symfony/Component/DependencyInjection/ContainerAware.html --- Navigation/NavigationRegistry.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Navigation/NavigationRegistry.php b/Navigation/NavigationRegistry.php index 5914bd0..31d77d9 100644 --- a/Navigation/NavigationRegistry.php +++ b/Navigation/NavigationRegistry.php @@ -2,9 +2,13 @@ namespace Snowcap\CoreBundle\Navigation; -use Symfony\Component\DependencyInjection\ContainerAware; +use Symfony\Component\DependencyInjection\ContainerAwareInterface; +use Symfony\Component\DependencyInjection\ContainerAwareTrait; + +class NavigationRegistry implements ContainerAwareInterface +{ + use ContainerAwareTrait; -class NavigationRegistry extends ContainerAware { /** * @var array */