PHP Class Hostnet\Bundle\WebpackBundle\CacheWarmer\WebpackCompileCacheWarmer

Inheritance: implements Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
Show file Open project: hostnet/webpack-bundle Class Usage Examples

Public Methods

Method Description
__construct ( CacheGuard $guard ) Create the cache warmer.
isOptional ( )
warmUp ( $cache_dir )

Method Details

__construct() public method

Create the cache warmer.
public __construct ( CacheGuard $guard )
$guard Hostnet\Component\Webpack\Asset\CacheGuard Guards the cache and is able to rebuild/update it.

isOptional() public method

public isOptional ( )

warmUp() public method

public warmUp ( $cache_dir )