Debug
in package
Implements
CompilerPassInterface
This class is responsible for sending statistical information to the log.
For debugging purposes it can be convenient to send statistical information about the ProjectDescriptor to the log of phpDocumentor.
Interfaces, Classes & Used Traits
- CompilerPassInterface
- Represents a single pass / business rule to be executed by the Compiler.
Constants
COMPILER_PRIORITY Line 29
mixed COMPILER_PRIORITY = 1000
Properties
$log Line 32
protected$log : \Psr\Log\LoggerInterface
$analyzer Line 35
protected$analyzer : \phpDocumentor\Descriptor\ProjectAnalyzer
Methods
__construct() Line 40
Registers the logger with this Compiler Pass.
public__construct(LoggerInterface $log, ProjectAnalyzer $analyzer) : mixed
getDescription() Line 46
Returns a textual description of what this pass does for output purposes.
publicgetDescription() : string
Please note that the command line will be truncated to 68 characters (
Returns
string —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.