PHP Class Coduo\PHPMatcher\Parser\ExpanderInitializer

Exibir arquivo Open project: coduo/php-matcher Class Usage Examples

Public Methods

Method Description
getExpanderDefinition ( $expanderName ) : string
hasExpanderDefinition ( $expanderName ) : boolean
initialize ( Coduo\PHPMatcher\AST\Expander $expanderNode ) : Coduo\PHPMatcher\Matcher\Pattern\PatternExpander
setExpanderDefinition ( string $expanderName, string $expanderFQCN )

Method Details

getExpanderDefinition() public method

public getExpanderDefinition ( $expanderName ) : string
$expanderName
return string

hasExpanderDefinition() public method

public hasExpanderDefinition ( $expanderName ) : boolean
$expanderName
return boolean

initialize() public method

public initialize ( Coduo\PHPMatcher\AST\Expander $expanderNode ) : Coduo\PHPMatcher\Matcher\Pattern\PatternExpander
$expanderNode Coduo\PHPMatcher\AST\Expander
return Coduo\PHPMatcher\Matcher\Pattern\PatternExpander

setExpanderDefinition() public method

public setExpanderDefinition ( string $expanderName, string $expanderFQCN )
$expanderName string
$expanderFQCN string Fully-Qualified Class Name that implements PatternExpander interface