PHP Class Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader

This implementation resolves the _controller attribute from the short notation to the fully-qualified form (from a:b:c to class:method).
Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Component\Config\Loader\DelegatingLoader
ファイルを表示 Open project: pmjones/php-framework-benchmarks Class Usage Examples

Protected Properties

Property Type Description
$converter
$logger

Public Methods

Method Description
__construct ( Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter $converter, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null, Symfony\Component\Routing\Loader\LoaderResolverInterface $resolver ) Constructor.
load ( mixed $resource ) : RouteCollection Loads a resource.

Method Details

__construct() public method

Constructor.
public __construct ( Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter $converter, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null, Symfony\Component\Routing\Loader\LoaderResolverInterface $resolver )
$converter Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter A ControllerNameConverter instance
$logger Symfony\Component\HttpKernel\Log\LoggerInterface A LoggerInterface instance
$resolver Symfony\Component\Routing\Loader\LoaderResolverInterface A LoaderResolverInterface instance

load() public method

Loads a resource.
public load ( mixed $resource ) : RouteCollection
$resource mixed A resource
return RouteCollection A RouteCollection instance

Property Details

$converter protected_oe property

protected $converter

$logger protected_oe property

protected $logger