PHP Класс Trismegiste\Mondrian\Visitor\PublicCollector

Наследование: extends FqcnHelper
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$currentClass
$currentMethod

Открытые методы

Метод Описание
enterNode ( PHPParser_Node $node ) {@inheritDoc}
leaveNode ( PHPParser_Node $node ) {@inheritDoc}

Защищенные методы

Метод Описание
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

Описание методов

enterClassNode() абстрактный защищенный Метод

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

enterInterfaceNode() абстрактный защищенный Метод

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

enterNode() публичный Метод

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

enterPublicMethodNode() абстрактный защищенный Метод

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

enterTraitNode() абстрактный защищенный Метод

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

extractAnnotation() защищенный Метод

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() защищенный Метод

the vertex name for a MethodVertex
protected getCurrentMethodIndex ( ) : string
Результат string

leaveNode() публичный Метод

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

Описание свойств

$currentClass защищенное свойство

protected $currentClass

$currentMethod защищенное свойство

protected $currentMethod