Property | Type | Description | |
---|---|---|---|
$additionalData | array | Additional information | |
$allowCompression | boolean | ||
$content | string | ||
$contentType | string | Mimetype | |
$originalPath | string | ||
$path | string | ||
$priority | integer |
Method | Description | |
---|---|---|
get ( string $key ) : mixed | ||
getAllowCompression ( ) : boolean | ||
getContent ( ) : string | ||
getContentType ( ) : string | ||
getOriginalPath ( ) : string | ||
getPath ( ) : string | ||
getPriority ( ) : integer | ||
isCompressionAllowed ( ) | ||
isJavaScript ( ) : boolean | Returns true if this is a javascript asset. | |
isScss ( ) : boolean | Returns true if this is a stylesheet asset. | |
isStylesheet ( ) : boolean | Returns true if this is a stylesheet asset. | |
isTypeScript ( ) : boolean | Returns true if this is a typescript asset. | |
set ( string $key, $data ) | ||
setAllowCompression ( boolean $allowCompression ) | ||
setContent ( string $content ) | ||
setContentType ( string $contentType ) | ||
setOriginalPath ( string $originalFile ) | ||
setPath ( string $file ) | ||
setPriority ( integer $priority ) |
public isJavaScript ( ) : boolean | ||
return | boolean |
public isStylesheet ( ) : boolean | ||
return | boolean |
public isTypeScript ( ) : boolean | ||
return | boolean |
public setAllowCompression ( boolean $allowCompression ) | ||
$allowCompression | boolean |
public setOriginalPath ( string $originalFile ) | ||
$originalFile | string |
protected array $additionalData | ||
return | array |