PHP Class Jarves\AssetHandler\Container

Datei anzeigen Open project: jarves/jarves

Protected Properties

Property Type Description
$container Symfony\Component\DependencyInjection\ContainerInterface
$handlerByExtension Jarves\AssetHandler\CompileHandlerInterface[]
$handlerByType Jarves\AssetHandler\CompileHandlerInterface[]
$loaderByContentType Jarves\AssetHandler\LoaderHandlerInterface[]
$loaderByExtension Jarves\AssetHandler\LoaderHandlerInterface[]

Public Methods

Method Description
__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 )

Method Details

__construct() public method

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

compileAsset() public method

public compileAsset ( AssetInfo $assetInfo ) : AssetInfo[]
$assetInfo AssetInfo
return AssetInfo[]

getCompileHandlerByContentType() public method

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

getCompileHandlerByFileExtension() public method

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

getLoaderHandlerByContentType() public method

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

getLoaderHandlerByExtension() public method

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

registerCompileHandlerByContentType() public method

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

registerCompileHandlerByExtension() public method

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

registerLoaderHandlerByContentType() public method

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

registerLoaderHandlerByExtension() public method

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

Property Details

$container protected_oe property

protected ContainerInterface,Symfony\Component\DependencyInjection $container
return Symfony\Component\DependencyInjection\ContainerInterface

$handlerByExtension protected_oe property

protected CompileHandlerInterface[],Jarves\AssetHandler $handlerByExtension
return Jarves\AssetHandler\CompileHandlerInterface[]

$handlerByType protected_oe property

protected CompileHandlerInterface[],Jarves\AssetHandler $handlerByType
return Jarves\AssetHandler\CompileHandlerInterface[]

$loaderByContentType protected_oe property

protected LoaderHandlerInterface[],Jarves\AssetHandler $loaderByContentType
return Jarves\AssetHandler\LoaderHandlerInterface[]

$loaderByExtension protected_oe property

protected LoaderHandlerInterface[],Jarves\AssetHandler $loaderByExtension
return Jarves\AssetHandler\LoaderHandlerInterface[]