PHP Class Webmozart\Expression\Constraint\KeyExists

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

Méthodes publiques

Méthode 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 méthode

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

equivalentTo() public méthode

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

evaluate() public méthode

public evaluate ( $value )

getKey() public méthode

Returns the array key.
public getKey ( ) : string
Résultat string The array key.

toString() public méthode

public toString ( )