Method | Description | |
---|---|---|
__construct ( array $acceptedValues, boolean $strict = true ) | Creates the expression. | |
equivalentTo ( Webmozart\Expression\Expression $other ) | ||
evaluate ( $value ) | ||
getAcceptedValues ( ) : array | Returns the accepted values. | |
isStrict ( ) : boolean | Returns whether the value is compared strictly. | |
toString ( ) |
public __construct ( array $acceptedValues, boolean $strict = true ) | ||
$acceptedValues | array | The accepted values. |
$strict | boolean | Whether to do strict comparison. |
public equivalentTo ( Webmozart\Expression\Expression $other ) | ||
$other | Webmozart\Expression\Expression |
public getAcceptedValues ( ) : array | ||
return | array | The accepted values. |