Class yii\debug\components\search\matchers\SameAs
Inheritance | yii\debug\components\search\matchers\SameAs » yii\debug\components\search\matchers\Base » yii\base\Component |
---|---|
Implements | yii\debug\components\search\matchers\MatcherInterface |
Available since version | 2.0 |
Checks if the given value is exactly or partially same as the base one.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$partial | boolean | If partial match should be used. | yii\debug\components\search\matchers\SameAs |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$baseValue | mixed | Base value to check | yii\debug\components\search\matchers\Base |
Public Methods
Method | Description | Defined 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\SameAs |
setValue() | Sets base value to match against | yii\debug\components\search\matchers\Base |