cacher() public method

Create an AssetCacher
public cacher ( string $path = '' ) : MiniAsset\AssetCacher
$path string The path to cache assets into.
return MiniAsset\AssetCacher
Beispiel #1
0
 /**
  * Create an AssetCacher
  *
  * @param string $path The path to read from. Defaults to the application CACHE path.
  * @return \MiniAsset\Output\AssetCacher
  */
 public function cacher($path = '')
 {
     if ($path == '') {
         $path = CACHE . 'asset_compress' . DS;
     }
     return parent::cacher($path);
 }