PHP 클래스 Hostnet\Component\Webpack\Asset\Compiler

저자: Harold Iedema ([email protected])
파일 보기 프로젝트 열기: hostnet/webpack-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__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