Class Base
Declares the base for a parse action that extract and generates definition files.
- Peg\Custom\CommandLine\Action
-
Peg\Custom\Command\Action\Generate\Base
Direct known subclasses
Peg\Custom\Command\Action\Generate\ZendPHP
Abstract
Namespace: Peg\Custom\Command\Action\Generate
Located at src/Command/Action/Generate/Base.php
Namespace: Peg\Custom\Command\Action\Generate
Located at src/Command/Action/Generate/Base.php
public
|
#
__construct( string $engine )
Your derived class should override this and set the engine name of your generator so it is called apropiately when this variable is set. |
public
|
#
OnCall(
You shouldn't override this method, instead write a Start() implementation. |
abstract public
|
protected
|
$command | |
#
Reference to command that called this action. |
protected
string
|
$engine | |
#
Name of the engine for which the source code is going to be generated. |
protected
boolean
|
$verbose | |
#
Flag that indicates if the generator should output messages of its current status. |