Interface

Symfony\Component\Config\Loader\LoaderResolverInterface

interface LoaderResolverInterface

LoaderResolverInterface selects a loader for a given resource.

Methods

LoaderInterface resolve(mixed $resource, string $type = null)

Returns a loader able to load the resource.

Details

at line 29
public LoaderInterface resolve(mixed $resource, string $type = null)

Returns a loader able to load the resource.

Parameters

mixed $resource A resource
string $type The resource type

Return Value

LoaderInterface A LoaderInterface instance