PHP Класс Symfony\Component\Routing\Loader\YamlFileLoader

Наследование: extends Symfony\Component\Config\Loader\FileLoader
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
load ( string $file ) : RouteCollection Loads a Yaml file.
supports ( mixed $resource ) : boolean Returns true if this class supports the given resource.

Защищенные методы

Метод Описание
loadFile ( $file )
parseRoute ( RouteCollection $collection, $name, $config, $file )

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

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

Loads a Yaml file.
public load ( string $file ) : RouteCollection
$file string A Yaml file path
Результат Symfony\Component\Routing\RouteCollection A RouteCollection instance

loadFile() защищенный Метод

protected loadFile ( $file )

parseRoute() защищенный Метод

protected parseRoute ( RouteCollection $collection, $name, $config, $file )
$collection Symfony\Component\Routing\RouteCollection

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

Returns true if this class supports the given resource.
public supports ( mixed $resource ) : boolean
$resource mixed A resource
Результат boolean true if this class supports the given resource, false otherwise