Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09cc5fc commit 9e44fbfCopy full SHA for 9e44fbf
components/validator/resources.rst
@@ -172,7 +172,7 @@ method of the Validator builder::
172
173
$validator = Validation::createValidatorBuilder()
174
// ... add loaders
175
- ->setMetadataCache(new ApcCache('some_apc_prefix'));
+ ->setMetadataCache(new ApcCache('some_apc_prefix'))
176
->getValidator();
177
178
Using a Custom MetadataFactory
@@ -193,7 +193,7 @@ this custom implementation using
193
use Symfony\Component\Validator\Validation;
194
195
196
- ->setMetadataFactory(new CustomMetadataFactory(...));
+ ->setMetadataFactory(new CustomMetadataFactory(...))
197
198
199
.. caution::
0 commit comments