@@ -158,22 +158,22 @@ public function load(array $configs, ContainerBuilder $container): void
158158
159159 // Document classes are excluded from the container by default
160160 $ container ->registerAttributeForAutoconfiguration (Document::class, static function (ChildDefinition $ definition ): void {
161- $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , Document::class)])-> setAbstract ( true ) ;
161+ $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , Document::class)]);
162162 });
163163 $ container ->registerAttributeForAutoconfiguration (EmbeddedDocument::class, static function (ChildDefinition $ definition ): void {
164- $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , EmbeddedDocument::class)])-> setAbstract ( true ) ;
164+ $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , EmbeddedDocument::class)]);
165165 });
166166 $ container ->registerAttributeForAutoconfiguration (MappedSuperclass::class, static function (ChildDefinition $ definition ): void {
167- $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , MappedSuperclass::class)])-> setAbstract ( true ) ;
167+ $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , MappedSuperclass::class)]);
168168 });
169169 $ container ->registerAttributeForAutoconfiguration (View::class, static function (ChildDefinition $ definition ): void {
170- $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , View::class)])-> setAbstract ( true ) ;
170+ $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , View::class)]);
171171 });
172172 $ container ->registerAttributeForAutoconfiguration (QueryResultDocument::class, static function (ChildDefinition $ definition ): void {
173- $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , QueryResultDocument::class)])-> setAbstract ( true ) ;
173+ $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , QueryResultDocument::class)]);
174174 });
175175 $ container ->registerAttributeForAutoconfiguration (File::class, static function (ChildDefinition $ definition ): void {
176- $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , File::class)])-> setAbstract ( true ) ;
176+ $ definition ->addTag ('container.excluded ' , ['source ' => sprintf ('with #[%s] attribute ' , File::class)]);
177177 });
178178
179179 $ this ->loadMessengerServices ($ container , $ loader );
0 commit comments