PHP 클래스 Symfony\Component\Routing\Loader\DelegatingLoader

This loader acts as an array of LoaderInterface objects - each having a chance to load a given resource (handled by the resolver)
저자: Fabien Potencier ([email protected])
상속: extends Loader
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$resolver Symfony\Component\Routing\Loader\LoaderResolverInterface

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Routing\Loader\LoaderResolverInterface $resolver ) Constructor.
load ( mixed $resource ) : RouteCollection Loads a resource.
supports ( mixed $resource ) : boolean Returns true if this class supports the given resource.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Symfony\Component\Routing\Loader\LoaderResolverInterface $resolver )
$resolver Symfony\Component\Routing\Loader\LoaderResolverInterface A LoaderResolverInterface instance

load() 공개 메소드

Loads a resource.
public load ( mixed $resource ) : RouteCollection
$resource mixed A resource
리턴 Symfony\Component\Routing\RouteCollection A RouteCollection instance

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

프로퍼티 상세

$resolver 보호되어 있는 프로퍼티

protected LoaderResolverInterface,Symfony\Component\Routing\Loader $resolver
리턴 Symfony\Component\Routing\Loader\LoaderResolverInterface