eZ\Bundle\EzPublishRestBundle\Routing\OptionsLoader::load PHP Method

load() public method

public load ( mixed $resource, string $type = null ) : RouteCollection
$resource mixed
$type string
return Symfony\Component\Routing\RouteCollection
    public function load($resource, $type = null)
    {
        return $this->routeCollectionMapper->mapCollection($this->import($resource));
    }