PHP Класс Jarves\AssetHandler\Container

Показать файл Открыть проект

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

Свойство Тип Описание
$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[]