메소드 |
설명 |
|
__construct ( $parser, $generator ) |
Create the asset repository based on this setup |
|
file ( string $path ) : string | null |
Return the file download associated with this path |
|
getConfig ( ) : array |
Get the config array |
|
getGenerator ( ) : Sprockets\Generator |
Get the generator |
|
getParser ( ) : Sprockets\Parser |
Get the parser |
|
imageTag ( string $filename, array $attributes ) : string |
Create image tag |
|
isFile ( string $filename ) : boolean |
Is this filename any type of file? |
|
isJavascript ( string $filename ) : boolean |
Is this asset a javascript type? |
|
isStylesheet ( string $filename ) : boolean |
Is this filename a stylesheet type? |
|
javascript ( $absolutePath ) : string |
Return the javascript associated with this path |
|
javascriptIncludeTag ( string $filename, array $attributes ) : string |
Create javascript include tag(s) |
|
registerAssetPipelineFilters ( ) : void |
This calls a method on every filter we have to pass
in the current pipeline if that method exists |
|
setConfig ( array $config ) |
Set the config array |
|
setGenerator ( Sprockets\Generator $generator ) |
Set the generator |
|
setParser ( Sprockets\Parser $parser ) |
Set the parser |
|
stylesheet ( string $absolutePath ) : string |
Return the stylesheet associated with this path |
|
stylesheetLinkTag ( string $filename, array $attributes ) : string |
Create stylesheet link tag(s) |
|