PHP Class Webmozart\Expression\Selector\Property

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

Méthodes publiques

Méthode Description
__construct ( string $propertyName, Webmozart\Expression\Expression $expr ) Creates the expression.
equivalentTo ( Webmozart\Expression\Expression $other )
evaluate ( $value )
getPropertyName ( ) : string Returns the property name.
toString ( )

Method Details

__construct() public méthode

Creates the expression.
public __construct ( string $propertyName, Webmozart\Expression\Expression $expr )
$propertyName string The name of the property.
$expr Webmozart\Expression\Expression The expression to evaluate for the result.

equivalentTo() public méthode

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

evaluate() public méthode

public evaluate ( $value )

getPropertyName() public méthode

Returns the property name.
public getPropertyName ( ) : string
Résultat string The property name.

toString() public méthode

public toString ( )