PHP Class Coduo\PHPMatcher\Matcher\OrMatcher

Inheritance: extends Matcher
ファイルを表示 Open project: coduo/php-matcher Class Usage Examples

Public Methods

Method Description
__construct ( Coduo\PHPMatcher\Matcher\ChainMatcher $chainMatcher )
canMatch ( $pattern ) {@inheritDoc}
match ( $value, $pattern ) {@inheritDoc}

Private Methods

Method Description
matchChild ( $value, $pattern ) : boolean Matches single pattern

Method Details

__construct() public method

public __construct ( Coduo\PHPMatcher\Matcher\ChainMatcher $chainMatcher )
$chainMatcher Coduo\PHPMatcher\Matcher\ChainMatcher

canMatch() public method

{@inheritDoc}
public canMatch ( $pattern )

match() public method

{@inheritDoc}
public match ( $value, $pattern )