Свойство | Type | Description | |
---|---|---|---|
$acceptableErrors | array | List of error types occurring in EVENT_DISPATCH_ERROR that will use this module to render assets. | |
$basePath | string | null | By default this value is set from "\Zend\Http\PhpEnvironment\Request::getBasePath()"
Example:
|
|
$baseUrl | string | null | By default this value is set from "\Zend\Http\PhpEnvironment\Request::getBaseUrl()"
Example:
http://example.com/
|
|
$buildOnRequest | boolean | Should build assets on request. | |
$cacheEnabled | boolean | Is cache enabled. | |
$cachePath | string | Full path to cache directory. | |
$combine | boolean | Combine option giving the opportunity not to combine the assets in debug mode. | |
$controllers | array | Map of controllers names and assets configuration. | |
$debug | boolean | Debug option that is passed to Assetic. | |
$default | array | Default options. | |
$modules | array | Map of modules names and assets configuration. | |
$rendererToStrategy | array | Map of strategies that will be choose to setup Assetic\AssetInterface for particular Zend\View\Renderer\RendererInterface | |
$routes | array | Map of routes names and assets configuration. | |
$umask | null | integer | Umask | |
$webPath | string | Full path to public directory where assets will be generated. | |
$writeIfChanged | boolean | Asset will be save on disk, only when it's modification time was changed |
Méthode | Description | |
---|---|---|
assembleSetterNameFromConfigKey ( $key ) | ||
processArray ( $config ) |
public addRendererToStrategy ( $rendererClass, $strategyClass ) |
protected assembleSetterNameFromConfigKey ( $key ) |
public getStrategyNameForRenderer ( $rendererName, $default = null ) |
public setAcceptableErrors ( array $acceptableErrors ) | ||
$acceptableErrors | array |
public setRendererToStrategy ( array $strategyForRenderer ) | ||
$strategyForRenderer | array |
protected array $acceptableErrors | ||
Résultat | array |
/~jdo/
http://example.com/
protected bool $buildOnRequest | ||
Résultat | boolean |
protected string $cachePath | ||
Résultat | string |
protected bool $combine | ||
Résultat | boolean |
protected array $controllers | ||
Résultat | array |
protected bool $debug | ||
Résultat | boolean |
protected array $modules | ||
Résultat | array |
protected array $rendererToStrategy | ||
Résultat | array |
protected array $routes | ||
Résultat | array |
protected string $webPath | ||
Résultat | string |
protected bool $writeIfChanged | ||
Résultat | boolean |