PHP 클래스 Jarves\AssetHandler\Container

파일 보기 프로젝트 열기: jarves/jarves

보호된 프로퍼티들

프로퍼티 타입 설명
$container Symfony\Component\DependencyInjection\ContainerInterface
$handlerByExtension Jarves\AssetHandler\CompileHandlerInterface[]
$handlerByType Jarves\AssetHandler\CompileHandlerInterface[]
$loaderByContentType Jarves\AssetHandler\LoaderHandlerInterface[]
$loaderByExtension Jarves\AssetHandler\LoaderHandlerInterface[]

공개 메소드들

메소드 설명
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
compileAsset ( AssetInfo $assetInfo ) : AssetInfo[]
getCompileHandlerByContentType ( string $type ) : Jarves\AssetHandler\CompileHandlerInterface
getCompileHandlerByFileExtension ( string $filePath ) : Jarves\AssetHandler\CompileHandlerInterface
getLoaderHandlerByContentType ( string $contentType ) : Jarves\AssetHandler\LoaderHandlerInterface
getLoaderHandlerByExtension ( string $filePath ) : Jarves\AssetHandler\LoaderHandlerInterface
registerCompileHandlerByContentType ( $contentType, string $serviceId )
registerCompileHandlerByExtension ( string $fileExtension, string $serviceId )
registerLoaderHandlerByContentType ( string $contentType, string $serviceId )
registerLoaderHandlerByExtension ( string $fileExtension, string $serviceId )

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
$container Symfony\Component\DependencyInjection\ContainerInterface

compileAsset() 공개 메소드

public compileAsset ( AssetInfo $assetInfo ) : AssetInfo[]
$assetInfo AssetInfo
리턴 AssetInfo[]

getCompileHandlerByContentType() 공개 메소드

public getCompileHandlerByContentType ( string $type ) : Jarves\AssetHandler\CompileHandlerInterface
$type string
리턴 Jarves\AssetHandler\CompileHandlerInterface

getCompileHandlerByFileExtension() 공개 메소드

public getCompileHandlerByFileExtension ( string $filePath ) : Jarves\AssetHandler\CompileHandlerInterface
$filePath string
리턴 Jarves\AssetHandler\CompileHandlerInterface

getLoaderHandlerByContentType() 공개 메소드

public getLoaderHandlerByContentType ( string $contentType ) : Jarves\AssetHandler\LoaderHandlerInterface
$contentType string
리턴 Jarves\AssetHandler\LoaderHandlerInterface

getLoaderHandlerByExtension() 공개 메소드

public getLoaderHandlerByExtension ( string $filePath ) : Jarves\AssetHandler\LoaderHandlerInterface
$filePath string
리턴 Jarves\AssetHandler\LoaderHandlerInterface

registerCompileHandlerByContentType() 공개 메소드

public registerCompileHandlerByContentType ( $contentType, string $serviceId )
$serviceId string

registerCompileHandlerByExtension() 공개 메소드

public registerCompileHandlerByExtension ( string $fileExtension, string $serviceId )
$fileExtension string
$serviceId string

registerLoaderHandlerByContentType() 공개 메소드

public registerLoaderHandlerByContentType ( string $contentType, string $serviceId )
$contentType string
$serviceId string

registerLoaderHandlerByExtension() 공개 메소드

public registerLoaderHandlerByExtension ( string $fileExtension, string $serviceId )
$fileExtension string
$serviceId string

프로퍼티 상세

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

protected ContainerInterface,Symfony\Component\DependencyInjection $container
리턴 Symfony\Component\DependencyInjection\ContainerInterface

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

protected CompileHandlerInterface[],Jarves\AssetHandler $handlerByExtension
리턴 Jarves\AssetHandler\CompileHandlerInterface[]

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

protected CompileHandlerInterface[],Jarves\AssetHandler $handlerByType
리턴 Jarves\AssetHandler\CompileHandlerInterface[]

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

protected LoaderHandlerInterface[],Jarves\AssetHandler $loaderByContentType
리턴 Jarves\AssetHandler\LoaderHandlerInterface[]

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

protected LoaderHandlerInterface[],Jarves\AssetHandler $loaderByExtension
리턴 Jarves\AssetHandler\LoaderHandlerInterface[]