Méthode | Description | |
---|---|---|
__construct ( string | integer $key, Webmozart\Expression\Expression $expr ) | Creates the expression. | |
equivalentTo ( Webmozart\Expression\Expression $other ) | ||
evaluate ( $value ) | ||
getKey ( ) : string | integer | Returns the array key. | |
toString ( ) |
public __construct ( string | integer $key, Webmozart\Expression\Expression $expr ) | ||
$key | string | integer | The array key. |
$expr | Webmozart\Expression\Expression | The expression to evaluate for the key. |
public equivalentTo ( Webmozart\Expression\Expression $other ) | ||
$other | Webmozart\Expression\Expression |