From 645f4f2c1b97c9e9661dc891cfb9667ff4bfddc6 Mon Sep 17 00:00:00 2001 From: Guilhem N Date: Wed, 1 Feb 2017 16:13:49 +0100 Subject: [PATCH] Make compiler passes internal --- DependencyInjection/Compiler/AddDescribersPass.php | 5 ++++- DependencyInjection/Compiler/AddRouteDescribersPass.php | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/Compiler/AddDescribersPass.php b/DependencyInjection/Compiler/AddDescribersPass.php index ff7173d..0849b1c 100644 --- a/DependencyInjection/Compiler/AddDescribersPass.php +++ b/DependencyInjection/Compiler/AddDescribersPass.php @@ -14,7 +14,10 @@ namespace Nelmio\ApiDocBundle\DependencyInjection\Compiler; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; -class AddDescribersPass implements CompilerPassInterface +/** + * @internal + */ +final class AddDescribersPass implements CompilerPassInterface { use PriorityTaggedServiceTrait; diff --git a/DependencyInjection/Compiler/AddRouteDescribersPass.php b/DependencyInjection/Compiler/AddRouteDescribersPass.php index 64ddde3..35e0867 100644 --- a/DependencyInjection/Compiler/AddRouteDescribersPass.php +++ b/DependencyInjection/Compiler/AddRouteDescribersPass.php @@ -14,7 +14,10 @@ namespace Nelmio\ApiDocBundle\DependencyInjection\Compiler; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; -class AddRouteDescribersPass implements CompilerPassInterface +/** + * @internal + */ +final class AddRouteDescribersPass implements CompilerPassInterface { use PriorityTaggedServiceTrait;