From 224a7ac90f260ba4231620f15f552ff70272b968 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 10 Jun 2024 13:47:50 +0200 Subject: [PATCH] Mark the DI extension and the Configuration classes as internal Those classes are meant to be used only as implementation of the bundle semantic configuration, not directly. --- src/DependencyInjection/Configuration.php | 3 +++ src/DependencyInjection/StofDoctrineExtensionsExtension.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index ea976f66..483d087e 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -6,6 +6,9 @@ use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; +/** + * @internal + */ class Configuration implements ConfigurationInterface { public function getConfigTreeBuilder(): TreeBuilder diff --git a/src/DependencyInjection/StofDoctrineExtensionsExtension.php b/src/DependencyInjection/StofDoctrineExtensionsExtension.php index 3cd28fbe..749e2d9c 100644 --- a/src/DependencyInjection/StofDoctrineExtensionsExtension.php +++ b/src/DependencyInjection/StofDoctrineExtensionsExtension.php @@ -11,6 +11,9 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +/** + * @internal + */ class StofDoctrineExtensionsExtension extends Extension { private const LISTENER_EVENTS = array(