PHP 클래스 AssetManager\Asset\AggregateAsset

상속: extends Assetic\Asset\BaseAsset
파일 보기 프로젝트 열기: rwoverdijk/assetmanager

공개 프로퍼티들

프로퍼티 타입 설명
$mimetype

공개 메소드들

메소드 설명
__construct ( array $content = [], array $filters = [], string $sourceRoot = null, string $sourcePath = null ) Constructor.
getLastModified ( ) : integer | null get last modified value from asset
load ( Assetic\Filter\FilterInterface $additionalFilter = null ) load asset
setLastModified ( integer $lastModified ) set last modified value of asset

비공개 메소드들

메소드 설명
processContent ( string $content ) Loop through assets and merge content

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $content = [], array $filters = [], string $sourceRoot = null, string $sourcePath = null )
$content array The array of assets to be merged
$filters array Filters for the asset
$sourceRoot string The source asset root directory
$sourcePath string The source asset path

getLastModified() 공개 메소드

get last modified value from asset
public getLastModified ( ) : integer | null
리턴 integer | null

load() 공개 메소드

load asset
public load ( Assetic\Filter\FilterInterface $additionalFilter = null )
$additionalFilter Assetic\Filter\FilterInterface

setLastModified() 공개 메소드

this is useful for cache mechanism detection id file has changed
public setLastModified ( integer $lastModified )
$lastModified integer

프로퍼티 상세

$mimetype 공개적으로 프로퍼티

public $mimetype