Inheritance: implements Flarum\Asset\CompilerInterface
Example #1
0
 /**
  * @param string $path
  * @param string $filename
  * @param bool $watch
  * @param string $cachePath
  */
 public function __construct($path, $filename, $watch, $cachePath)
 {
     parent::__construct($path, $filename, $watch);
     $this->cachePath = $cachePath;
 }
Example #2
0
 /**
  * @param string $path
  * @param string $filename
  * @param bool $watch
  * @param Repository $cache
  */
 public function __construct($path, $filename, $watch = false, Repository $cache = null)
 {
     parent::__construct($path, $filename, $watch);
     $this->cache = $cache;
 }