PHP 클래스 AssetManager\Resolver\CollectionResolver

Collections are strictly checked by mime-type, and added to an AssetCollection when all checks passed.
상속: implements AssetManager\Resolver\ResolverInterface, implements AssetManager\Resolver\AggregateResolverAwareInterface, implements AssetManager\Service\AssetFilterManagerAwareInterface
파일 보기 프로젝트 열기: rwoverdijk/assetmanager 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$aggregateResolver AssetManager\Resolver\ResolverInterface
$collections the collections
$filterManager The filterManager service.

공개 메소드들

메소드 설명
__construct ( array | Traversabl\Traversable $collections = [] ) Constructor
collect ( ) {@inheritDoc}
getAggregateResolver ( ) : AssetManager\Resolver\ResolverInterface Get the aggregate resolver.
getAssetFilterManager ( ) : AssetManager\Service\AssetFilterManager Get the AssetFilterManager
getCollections ( ) : array Retrieve the collections
resolve ( $name ) {@inheritDoc}
setAggregateResolver ( AssetManager\Resolver\ResolverInterface $aggregateResolver ) Set the aggregate resolver.
setAssetFilterManager ( AssetManager\Service\AssetFilterManager $filterManager ) Set the AssetFilterManager.
setCollections ( array | Traversabl\Traversable $collections ) Set (overwrite) collections

메소드 상세

__construct() 공개 메소드

Instantiate and optionally populate collections.
public __construct ( array | Traversabl\Traversable $collections = [] )
$collections array | Traversabl\Traversable

collect() 공개 메소드

{@inheritDoc}
public collect ( )

getAggregateResolver() 공개 메소드

Get the aggregate resolver.
public getAggregateResolver ( ) : AssetManager\Resolver\ResolverInterface
리턴 AssetManager\Resolver\ResolverInterface

getAssetFilterManager() 공개 메소드

Get the AssetFilterManager
public getAssetFilterManager ( ) : AssetManager\Service\AssetFilterManager
리턴 AssetManager\Service\AssetFilterManager

getCollections() 공개 메소드

Retrieve the collections
public getCollections ( ) : array
리턴 array

resolve() 공개 메소드

{@inheritDoc}
public resolve ( $name )

setAggregateResolver() 공개 메소드

Set the aggregate resolver.
public setAggregateResolver ( AssetManager\Resolver\ResolverInterface $aggregateResolver )
$aggregateResolver AssetManager\Resolver\ResolverInterface

setAssetFilterManager() 공개 메소드

Set the AssetFilterManager.
public setAssetFilterManager ( AssetManager\Service\AssetFilterManager $filterManager )
$filterManager AssetManager\Service\AssetFilterManager

setCollections() 공개 메소드

Collections should be arrays or Traversable objects with name => path pairs
public setCollections ( array | Traversabl\Traversable $collections )
$collections array | Traversabl\Traversable

프로퍼티 상세

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

protected ResolverInterface,AssetManager\Resolver $aggregateResolver
리턴 AssetManager\Resolver\ResolverInterface

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

the collections
protected $collections

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

The filterManager service.
protected $filterManager