PHP Класс Symfony\Bundle\FrameworkBundle\Routing\LoaderResolver

If also lazy-loads them.
Автор: Fabien Potencier ([email protected])
Наследование: extends Symfony\Component\Routing\Loader\LoaderResolver
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$container
$services

Открытые методы

Метод Описание
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, array $loaders = [] ) Constructor.
resolve ( mixed $resource ) : Symfony\Component\Routing\Loader\LoaderInterface Returns a loader able to load the resource.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, array $loaders = [] )
$container Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance
$loaders array An array of loaders

resolve() публичный Метод

Returns a loader able to load the resource.
public resolve ( mixed $resource ) : Symfony\Component\Routing\Loader\LoaderInterface
$resource mixed A resource
Результат Symfony\Component\Routing\Loader\LoaderInterface A LoaderInterface instance

Описание свойств

$container защищенное свойство

protected $container

$services защищенное свойство

protected $services