PHP Class Webmozart\Expression\Constraint\KeyNotExists

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends Webmozart\Expression\Logic\Literal
Mostrar archivo Open project: webmozart/expression Class Usage Examples

Public Methods

Method Description
__construct ( string $key ) Creates the expression.
equivalentTo ( Webmozart\Expression\Expression $other )
evaluate ( $value )
getKey ( ) : string Returns the array key.
toString ( )

Method Details

__construct() public method

Creates the expression.
public __construct ( string $key )
$key string The array key.

equivalentTo() public method

public equivalentTo ( Webmozart\Expression\Expression $other )
$other Webmozart\Expression\Expression

evaluate() public method

public evaluate ( $value )

getKey() public method

Returns the array key.
public getKey ( ) : string
return string The array key.

toString() public method

public toString ( )