public __construct ( Hostnet\Component\Webpack\Profiler\Profiler $profiler, |
||
$profiler | Hostnet\Component\Webpack\Profiler\Profiler | |
$tracker | ||
$twig_parser | ||
$generator | Hostnet\Component\Webpack\Configuration\ConfigGenerator | |
$process | ||
$cache_dir | string | |
$bundles | array | |
$stopwatch | Symfony\Component\Stopwatch\Stopwatch |
public function __construct(Profiler $profiler, Tracker $tracker, TwigParser $twig_parser, ConfigGenerator $generator, Process $process, $cache_dir, $bundles, Stopwatch $stopwatch = null)
{
$this->profiler = $profiler;
$this->tracker = $tracker;
$this->twig_parser = $twig_parser;
$this->generator = $generator;
$this->process = $process;
$this->cache_dir = $cache_dir;
$this->bundles = $bundles;
$this->stopwatch = $stopwatch !== null ? $stopwatch : new Stopwatch();
}