Skip to content

Commit f689b9b

Browse files
afurculitaxabbuh
authored andcommitted
Update resources.rst
`ClassMetadataFactory` has been removed in favor of `LazyLoadingMetadataFactory`. `MetadataFactoryInterface` has been moved to `Mapping\Factory`
1 parent 396aee9 commit f689b9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/validator/resources.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,14 @@ Using a Custom MetadataFactory
179179
------------------------------
180180

181181
All the loaders and the cache are passed to an instance of
182-
:class:`Symfony\\Component\\Validator\\Mapping\\ClassMetadataFactory`. This
183-
class is responsible for creating a ``ClassMetadata`` instance from all the
182+
:class:`Symfony\\Component\\Validator\\Mapping\\Factory\\LazyLoadingMetadataFactory`.
183+
This class is responsible for creating a ``ClassMetadata`` instance from all the
184184
configured resources.
185185

186186
You can also use a custom metadata factory implementation by creating a class
187187
which implements
188-
:class:`Symfony\\Component\\Validator\\MetadataFactoryInterface`. You can set
189-
this custom implementation using
188+
:class:`Symfony\\Component\\Validator\\Mapping\\Factory\\MetadataFactoryInterface`.
189+
You can set this custom implementation using
190190
:method:`Symfony\\Component\\Validator\\ValidatorBuilder::setMetadataFactory`::
191191

192192
use Acme\Validation\CustomMetadataFactory;

0 commit comments

Comments
 (0)