phpDocumentor

GuidesCompiler
in package
implements CompilerPassInterface

FinalYes

Table of Contents

Interfaces

CompilerPassInterface
Represents a single pass / business rule to be executed by the Compiler.

Properties

$compiler  : Compiler
$metas  : Metas

Methods

__construct()  : mixed
execute()  : void
Executes a compiler pass.
getDescription()  : string
Returns a textual description of what this pass does for output purposes.

Properties

Methods

__construct()

public __construct(Compiler $compiler, Metas $metas) : mixed
Parameters
$compiler : Compiler
$metas : Metas

execute()

Executes a compiler pass.

public execute(ProjectDescriptor $project) : void

This method will execute the business logic associated with a given compiler pass and allow it to manipulate or consumer the Object Graph using the ProjectDescriptor object.

Parameters
$project : ProjectDescriptor

Representation of the Object Graph that can be manipulated.

getDescription()

Returns a textual description of what this pass does for output purposes.

public getDescription() : string

Please note that the command line will be truncated to 68 characters ( .. 000.000s) so longer descriptions won't have much use.

Return values
string

        
On this page

Search results