PHP Class Symfony\Component\Routing\Loader\ClosureLoader

Author: Fabien Potencier ([email protected])
Inheritance: extends Loader
Show file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
load ( $closure ) Loads a Closure.
supports ( mixed $resource ) : boolean Returns true if this class supports the given resource.

Method Details

load() public method

Loads a Closure.
public load ( $closure )

supports() public method

Returns true if this class supports the given resource.
public supports ( mixed $resource ) : boolean
$resource mixed A resource
return boolean true if this class supports the given resource, false otherwise