Symfony\Component\Routing\Loader\YamlFileLoader::parseImport
Parses an import and adds the routes in the resource to the RouteCollection.
Signature
protected function parseImport(RouteCollection
$collection,
array
$config,
string
$path,
string
$file )
Parameters
$collection
— Symfony\Component\Routing\RouteCollection- A RouteCollection instance
$config
— array- Route definition
$path
— string- Full path of the YAML file being processed
$file
— string- Loaded file name