Hostnet\Component\Webpack\Asset\Compiler::__construct PHP Метод

__construct() публичный Метод

public __construct ( Hostnet\Component\Webpack\Profiler\Profiler $profiler, Tracker $tracker, TwigParser $twig_parser, Hostnet\Component\Webpack\Configuration\ConfigGenerator $generator, Process $process, string $cache_dir, array $bundles, Symfony\Component\Stopwatch\Stopwatch $stopwatch = null )
$profiler Hostnet\Component\Webpack\Profiler\Profiler
$tracker Tracker
$twig_parser TwigParser
$generator Hostnet\Component\Webpack\Configuration\ConfigGenerator
$process Symfony\Component\Process\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();
    }