Symfony\Component\Routing\Loader\YamlFileLoader::validate
Validates the route configuration.
Signature
protected function validate(array
$config,
string
$name,
string
$path )
Parameters
$config
— array- A resource config
$name
— string- The config key
$path
— string- The loaded file path
Errors/Exceptions
-
InvalidArgumentException
- If one of the provided config keys is not supported,