/** * {@inheritdoc} */ public function load($resource, $type = null) { $collection = new RouteCollection(); $collection->addCollection($this->yamlFileLoader->import(__DIR__ . '/../Resources/config/panier.yml')); return $collection; }