Skip to content

Commit 8880fb2

Browse files
authored
Mark DI extension and configuration classes as internal (#949)
They can only be accessed through the Bundle
1 parent e11ebf3 commit 8880fb2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
/**
2727
* FrameworkExtension configuration structure.
28+
*
29+
* @internal Since 5.5. This class must not be used outside the DoctrineMongoDBBundle package.
2830
*/
2931
class Configuration implements ConfigurationInterface
3032
{

src/DependencyInjection/DoctrineMongoDBExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474

7575
/**
7676
* Doctrine MongoDB ODM extension.
77+
*
78+
* @internal Since 5.5. This class must not be used outside the DoctrineMongoDBBundle package.
7779
*/
7880
class DoctrineMongoDBExtension extends Extension
7981
{

0 commit comments

Comments
 (0)