PHP 클래스 Symfony\Component\DependencyInjection\Compiler\Compiler

저자: Johannes M. Schmitt ([email protected])
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor.
addLogMessage ( string $string ) Adds a log message.
addPass ( Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION ) Adds a pass to the PassConfig.
compile ( ContainerBuilder $container ) Run the Compiler and process all Passes.
getLog ( ) : array Returns the log.
getLoggingFormatter ( ) : LoggingFormatter Returns the logging formatter which can be used by compilation passes.
getPassConfig ( ) : PassConfig Returns the PassConfig.
getServiceReferenceGraph ( ) : Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph Returns the ServiceReferenceGraph.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

addLogMessage() 공개 메소드

Adds a log message.
public addLogMessage ( string $string )
$string string The log message

addPass() 공개 메소드

Adds a pass to the PassConfig.
public addPass ( Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION )
$pass Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface A compiler pass
$type string The type of the pass

compile() 공개 메소드

Run the Compiler and process all Passes.
public compile ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

getLog() 공개 메소드

Returns the log.
public getLog ( ) : array
리턴 array Log array

getLoggingFormatter() 공개 메소드

Returns the logging formatter which can be used by compilation passes.
public getLoggingFormatter ( ) : LoggingFormatter
리턴 LoggingFormatter

getPassConfig() 공개 메소드

Returns the PassConfig.
public getPassConfig ( ) : PassConfig
리턴 PassConfig The PassConfig instance

getServiceReferenceGraph() 공개 메소드

Returns the ServiceReferenceGraph.
public getServiceReferenceGraph ( ) : Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph
리턴 Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph The ServiceReferenceGraph instance