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

Author: Elliot Levin ([email protected])
Datei anzeigen Open project: timetoogo/pinq

Public Methods

Method 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 method

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
return mixed The parameter value

getData() public method

Gets any associated data of the parameter.
public getData ( ) : mixed
return mixed

hash() public method

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