Documentation

LoaderResolverInterface

LoaderResolverInterface selects a loader for a given resource.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

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

A resource

$type : string|null = null

The resource type or null if unknown

Return values
LoaderInterface|false

Search results