PHP Class AssetManager\Asset\AggregateAsset

Inheritance: extends Assetic\Asset\BaseAsset
Afficher le fichier Open project: rwoverdijk/assetmanager

Méthodes publiques

Свойство Type Description
$mimetype

Méthodes publiques

Méthode Description
__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

Private Methods

Méthode Description
processContent ( string $content ) Loop through assets and merge content

Method Details

__construct() public méthode

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() public méthode

get last modified value from asset
public getLastModified ( ) : integer | null
Résultat integer | null

load() public méthode

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

setLastModified() public méthode

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

Property Details

$mimetype public_oe property

public $mimetype