Documentation

LoaderResolverInterface

LoaderResolverInterface selects a loader for a given resource.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Methods

resolve()  : LoaderInterface|false
Returns a loader able to load the resource.

Methods

resolve()

Returns a loader able to load the resource.

public resolve(mixed $resource[, string|null $type = null ]) : LoaderInterface|false
Parameters
$resource : mixed
$type : string|null = null

The resource type or null if unknown

Return values
LoaderInterface|false

        
On this page

Search results