PHP Class Sstalle\php7cc\NodeVisitor\AbstractNewFunctionVisitor

Inheritance: extends AbstractVisitor
Mostrar archivo Open project: sstalle/php7cc

Public Methods

Method Description
__construct ( )
enterNode ( PhpParser\Node $node )

Protected Methods

Method Description
accepts ( Function_ $node ) : boolean
getMessageText ( string $functionName ) : string

Method Details

__construct() public method

public __construct ( )

accepts() abstract protected method

abstract protected accepts ( Function_ $node ) : boolean
$node PhpParser\Node\Stmt\Function_
return boolean

enterNode() public method

public enterNode ( PhpParser\Node $node )
$node PhpParser\Node

getMessageText() abstract protected method

abstract protected getMessageText ( string $functionName ) : string
$functionName string
return string