PHP Класс Hostnet\Component\Webpack\Asset\Compiler

Автор: Harold Iedema ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )
compile ( ) : string
getAliasId ( string $path ) : string Returns the alias id for the given path.

Приватные методы

Метод Описание
addResolveConfig ( ) Adds root & alias configuration entries.
addSplitPoints ( ) Add split points to the 'entry' section of the configuration.

Описание методов

__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

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

public compile ( ) : string
Результат string

getAliasId() публичный статический Метод

Returns the alias id for the given path.
public static getAliasId ( string $path ) : string
$path string
Результат string