PHP Class Coduo\PHPMatcher\Matcher\JsonMatcher

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

Public Methods

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

Private Methods

Method Description
getErrorMessage ( )

Method Details

__construct() public method

public __construct ( Coduo\PHPMatcher\Matcher\ValueMatcher $matcher )
$matcher Coduo\PHPMatcher\Matcher\ValueMatcher

canMatch() public method

{@inheritDoc}
public canMatch ( $pattern )

match() public method

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