PHP Interface Pinq\Providers\DSL\Compilation\Parameters\IQueryParameter

Author: Elliot Levin ([email protected])
Afficher le fichier Open project: timetoogo/pinq

Méthodes publiques

Méthode Description
evaluate ( Pinq\Queries\IResolvedParameterRegistry $parameters, string &$hash ) : mixed Gets the query parameter value with the supplied resolved parameters.
getData ( ) : mixed Gets any associated data of the parameter.
hash ( Pinq\Queries\IResolvedParameterRegistry $parameters ) : string Returns a unique identifier of the query parameter according the resolved values.

Method Details

evaluate() public méthode

A unique identifier is assigned to the $hash parameter.
public evaluate ( Pinq\Queries\IResolvedParameterRegistry $parameters, string &$hash ) : mixed
$parameters Pinq\Queries\IResolvedParameterRegistry
$hash string The hash will be set to this variable
Résultat mixed The parameter value

getData() public méthode

Gets any associated data of the parameter.
public getData ( ) : mixed
Résultat mixed

hash() public méthode

Returns a unique identifier of the query parameter according the resolved values.
public hash ( Pinq\Queries\IResolvedParameterRegistry $parameters ) : string
$parameters Pinq\Queries\IResolvedParameterRegistry
Résultat string