Documentation

GlobFileLoader extends FileLoader
in package

GlobFileLoader loads files from a glob pattern.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Properties

$env  : mixed
$loading  : mixed
$locator  : mixed
$resolver  : mixed
$currentDir  : string|null

Methods

__construct()  : mixed
getLocator()  : FileLocatorInterface
Returns the file locator used by this loader.
getResolver()  : LoaderResolverInterface
Gets the loader resolver.
import()  : mixed
Imports a resource.
load()  : mixed
{@inheritdoc}
resolve()  : LoaderInterface
Finds a loader able to load an imported resource.
setCurrentDir()  : mixed
Sets the current directory.
setResolver()  : mixed
Sets the loader resolver.
supports()  : bool
{@inheritdoc}
doImport()  : mixed

Properties

$resolver

protected mixed $resolver

$currentDir

private string|null $currentDir = null

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

load()

{@inheritdoc}

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

setCurrentDir()

Sets the current directory.

public setCurrentDir(string $dir) : mixed
Parameters
$dir : string

supports()

{@inheritdoc}

public supports(mixed $resource[, string $type = null ]) : bool
Parameters
$resource : mixed
$type : string = null
Return values
bool

doImport()

private doImport(mixed $resource[, string $type = null ][, bool $ignoreErrors = false ][, string $sourceResource = null ]) : mixed
Parameters
$resource : mixed
$type : string = null
$ignoreErrors : bool = false
$sourceResource : string = null

        
On this page

Search results