Method | Description | |
---|---|---|
__construct ( $mergedAsset, $assetFetcher, $cacheBuster ) | ||
getFileSeparator ( ) |
Method | Description | |
---|---|---|
concatenateAssets ( ) | ||
countDirectoriesInPathToRoot ( Piwik\AssetManager\UIAsset $uiAsset ) : integer | ||
generateCacheBuster ( ) | ||
getMergedAssets ( ) | ||
getPreamble ( ) | ||
postEvent ( &$mergedContent ) | ||
processFileContent ( $uiAsset ) |
Method | Description | |
---|---|---|
getCssPathsRewriter ( Piwik\AssetManager\UIAsset $uiAsset ) : Closure | Rewrite CSS url directives - rewrites paths defined relatively to their css/less definition file - rewrite windows directory separator \\ to / | |
getCssStatementForReplacement ( $path ) | ||
getLessCompiler ( ) : lessc | ||
rewriteCssImagePaths ( string $content, callable $pathsRewriter ) : string | Rewrite CSS url() directives | |
rewriteCssImportPaths ( string $content, callable $pathsRewriter ) : string | Rewrite CSS import directives |
protected countDirectoriesInPathToRoot ( Piwik\AssetManager\UIAsset $uiAsset ) : integer | ||
$uiAsset | Piwik\AssetManager\UIAsset | |
return | integer |