PHP Class Trismegiste\Mondrian\Visitor\PublicCollector

Inheritance: extends FqcnHelper
Afficher le fichier Open project: trismegiste/mondrian Class Usage Examples

Protected Properties

Свойство Type Description
$currentClass
$currentMethod

Méthodes publiques

Méthode Description
enterNode ( PHPParser_Node $node ) {@inheritDoc}
leaveNode ( PHPParser_Node $node ) {@inheritDoc}

Méthodes protégées

Méthode Description
enterClassNode ( PHPParser_Node_Stmt_Class $node ) Visits a class node
enterInterfaceNode ( PHPParser_Node_Stmt_Interface $node ) Visits an interface node
enterPublicMethodNode ( PHPParser_Node_Stmt_ClassMethod $node ) Visits a public method node
enterTraitNode ( PHPParser_Node_Stmt_Trait $node ) Visits an trait node
extractAnnotation ( PHPParser_Node_Stmt $node ) Extracts annotations in the comment of a statement and injects them in attribute of the node
getCurrentMethodIndex ( ) : string the vertex name for a MethodVertex

Method Details

enterClassNode() abstract protected méthode

Visits a class node
abstract protected enterClassNode ( PHPParser_Node_Stmt_Class $node )
$node PHPParser_Node_Stmt_Class

enterInterfaceNode() abstract protected méthode

Visits an interface node
abstract protected enterInterfaceNode ( PHPParser_Node_Stmt_Interface $node )
$node PHPParser_Node_Stmt_Interface

enterNode() public méthode

{@inheritDoc}
public enterNode ( PHPParser_Node $node )
$node PHPParser_Node

enterPublicMethodNode() abstract protected méthode

Visits a public method node
abstract protected enterPublicMethodNode ( PHPParser_Node_Stmt_ClassMethod $node )
$node PHPParser_Node_Stmt_ClassMethod

enterTraitNode() abstract protected méthode

Visits an trait node
abstract protected enterTraitNode ( PHPParser_Node_Stmt_Trait $node )
$node PHPParser_Node_Stmt_Trait

extractAnnotation() protected méthode

Extracts annotations in the comment of a statement and injects them in attribute of the node
protected extractAnnotation ( PHPParser_Node_Stmt $node )
$node PHPParser_Node_Stmt

getCurrentMethodIndex() protected méthode

the vertex name for a MethodVertex
protected getCurrentMethodIndex ( ) : string
Résultat string

leaveNode() public méthode

{@inheritDoc}
public leaveNode ( PHPParser_Node $node )
$node PHPParser_Node

Property Details

$currentClass protected_oe property

protected $currentClass

$currentMethod protected_oe property

protected $currentMethod