Abstract Class yii\debug\components\search\matchers\Base

Inheritanceyii\debug\components\search\matchers\Base » yii\base\Component
Implementsyii\debug\components\search\matchers\MatcherInterface
Subclassesyii\debug\components\search\matchers\GreaterThan, yii\debug\components\search\matchers\GreaterThanOrEqual, yii\debug\components\search\matchers\LowerThan, yii\debug\components\search\matchers\SameAs
Available since version2.0

Base class for matchers that are used in a filter.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$baseValue mixed Base value to check yii\debug\components\search\matchers\Base

Public Methods

Hide inherited methods

MethodDescriptionDefined By
hasValue() Checks if base value is set yii\debug\components\search\matchers\Base
match() Checks if the value passed matches base value. yii\debug\components\search\matchers\MatcherInterface
setValue() Sets base value to match against yii\debug\components\search\matchers\Base

Property Details

$baseValue protected property

Base value to check

protected mixed $baseValue null

Method Details

hasValue() public method

Checks if base value is set

public boolean hasValue ( )
return boolean

If base value is set

setValue() public method

Sets base value to match against

public void setValue ( $value )
$value mixed