PHP Interface yii\debug\components\search\matchers\MatcherInterface

Since: 2.0
Author: Mark Jebri ([email protected])
显示文件 Open project: yiisoft/yii2-debug Interface Usage Examples

Public Methods

Method Description
hasValue ( ) : boolean Checks if base value is set
match ( mixed $value ) : boolean Checks if the value passed matches base value.
setValue ( mixed $value ) Sets base value to match against

Method Details

hasValue() public method

Checks if base value is set
public hasValue ( ) : boolean
return boolean if base value is set

match() public method

Checks if the value passed matches base value.
public match ( mixed $value ) : boolean
$value mixed value to be matched
return boolean if there is a match

setValue() public method

Sets base value to match against
public setValue ( mixed $value )
$value mixed