Documentation

Loader
in package
implements LoaderInterface

AbstractYes

Loader is the abstract class used by all built-in loaders.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

LoaderInterface
LoaderInterface is the interface implemented by all loader classes.

Properties

$env  : mixed
$resolver  : mixed

Methods

__construct()  : mixed
getResolver()  : LoaderResolverInterface
Gets the loader resolver.
import()  : mixed
Imports a resource.
resolve()  : LoaderInterface
Finds a loader able to load an imported resource.
setResolver()  : mixed
Sets the loader resolver.

Properties

$resolver

protected mixed $resolver

Methods

__construct()

public __construct([string $env = null ]) : mixed
Parameters
$env : string = null

import()

Imports a resource.

public import(mixed $resource[, string $type = null ]) : mixed
Parameters
$resource : mixed
$type : string = null

        
On this page

Search results