Skip to content

Commit 2d6e50a

Browse files
committed
minor #8261 Update resources.rst (afurculita)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes #8261). Discussion ---------- Update resources.rst `ClassMetadataFactory` has been removed in favor of `LazyLoadingMetadataFactory`. `MetadataFactoryInterface` has been moved to `Mapping\Factory` Commits ------- f689b9b Update resources.rst
2 parents 396aee9 + f689b9b commit 2d6e50a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/validator/resources.rst

+4-4
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)