mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
parent
1c553e93ec
commit
c366ffba84
@ -24,7 +24,7 @@ class LoadExtractorParsersPass implements CompilerPassInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
// validation may not be installed/enabled, if it is, load that config as well
|
// validation may not be installed/enabled, if it is, load that config as well
|
||||||
if ($container->hasDefinition('validator.mapping.class_metadata_factory')) {
|
if ($container->has('validator.mapping.class_metadata_factory')) {
|
||||||
$loader->load('services.validation.xml');
|
$loader->load('services.validation.xml');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user