PHP Class Trismegiste\Mondrian\Visitor\NewContractCollector

Adds the new interface so changes could be made to the current PhpFile
Inheritance: extends PublicCollector
Show file Open project: trismegiste/mondrian

Protected Properties

Property Type Description
$context

Public Methods

Method Description
__construct ( Refactored $ctx )

Protected Methods

Method Description
enterClassNode ( PHPParser_Node_Stmt_Class $node ) {@inheritDoc}
enterInterfaceNode ( PHPParser_Node_Stmt_Interface $node ) do nothing
enterPublicMethodNode ( PHPParser_Node_Stmt_ClassMethod $node ) do nothing
enterTraitNode ( PHPParser_Node_Stmt_Trait $node ) do nothing

Method Details

__construct() public method

public __construct ( Refactored $ctx )
$ctx Trismegiste\Mondrian\Refactor\Refactored

enterClassNode() protected method

{@inheritDoc}
protected enterClassNode ( PHPParser_Node_Stmt_Class $node )
$node PHPParser_Node_Stmt_Class

enterInterfaceNode() protected method

do nothing
protected enterInterfaceNode ( PHPParser_Node_Stmt_Interface $node )
$node PHPParser_Node_Stmt_Interface

enterPublicMethodNode() protected method

do nothing
protected enterPublicMethodNode ( PHPParser_Node_Stmt_ClassMethod $node )
$node PHPParser_Node_Stmt_ClassMethod

enterTraitNode() protected method

do nothing
protected enterTraitNode ( PHPParser_Node_Stmt_Trait $node )
$node PHPParser_Node_Stmt_Trait

Property Details

$context protected property

protected $context