PHP Class Codesleeve\AssetPipeline\Filters\FilterHelper

Inheritance: extends Assetic\Filter\BaseCssFilter
Mostra file Open project: codesleeve/asset-pipeline

Public Methods

Method Description
fileExists ( $filename )
filterDump ( Assetic\Asset\AssetInterface $asset )
filterLoad ( Assetic\Asset\AssetInterface $asset )
getRelativePath ( $basePath, $absolutePath )

Private Methods

Method Description
_getRelativePath ( $basePath, $absolutePath )
forwardSlashes ( string $filename ) : string Swap out any back slashes with forward slashes for windows compatability

Method Details

fileExists() public method

public fileExists ( $filename )

filterDump() public method

public filterDump ( Assetic\Asset\AssetInterface $asset )
$asset Assetic\Asset\AssetInterface

filterLoad() public method

public filterLoad ( Assetic\Asset\AssetInterface $asset )
$asset Assetic\Asset\AssetInterface

getRelativePath() public method

public getRelativePath ( $basePath, $absolutePath )