PHP Class Pinq\Queries\Builders\Interpretations\RequestResolver

Author: Elliot Levin ([email protected])
Inheritance: extends BaseResolver, implements IRequestResolver
Exibir arquivo Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( Pinq\Parsing\IFunctionInterpreter $functionInterpreter )
interpretAggregate ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function )
interpretAll ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretAny ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretAsArray ( $requestId )
interpretAsCollection ( $requestId )
interpretAsTraversable ( $requestId )
interpretAverage ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretContains ( $requestId, $valueId, $value )
interpretCount ( $requestId )
interpretFirst ( $requestId )
interpretGetIterator ( $requestId )
interpretGetTrueIterator ( $requestId )
interpretImplode ( $requestId, $delimiterId, $delimiter, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretIsEmpty ( $requestId )
interpretLast ( $requestId )
interpretMaximum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretMinimum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
interpretOffsetExists ( $requestId, $indexId, $index )
interpretOffsetGet ( $requestId, $indexId, $index )
interpretSum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )

Protected Methods

Method Description
resolveOptionalProjection ( Pinq\Queries\Builders\Functions\IFunction $function = null )

Method Details

__construct() public method

public __construct ( Pinq\Parsing\IFunctionInterpreter $functionInterpreter )
$functionInterpreter Pinq\Parsing\IFunctionInterpreter

interpretAggregate() public method

public interpretAggregate ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function )
$function Pinq\Queries\Builders\Functions\IFunction

interpretAll() public method

public interpretAll ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretAny() public method

public interpretAny ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretAsArray() public method

public interpretAsArray ( $requestId )

interpretAsCollection() public method

public interpretAsCollection ( $requestId )

interpretAsTraversable() public method

public interpretAsTraversable ( $requestId )

interpretAverage() public method

public interpretAverage ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretContains() public method

public interpretContains ( $requestId, $valueId, $value )

interpretCount() public method

public interpretCount ( $requestId )

interpretFirst() public method

public interpretFirst ( $requestId )

interpretGetIterator() public method

public interpretGetIterator ( $requestId )

interpretGetTrueIterator() public method

public interpretGetTrueIterator ( $requestId )

interpretImplode() public method

public interpretImplode ( $requestId, $delimiterId, $delimiter, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretIsEmpty() public method

public interpretIsEmpty ( $requestId )

interpretLast() public method

public interpretLast ( $requestId )

interpretMaximum() public method

public interpretMaximum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretMinimum() public method

public interpretMinimum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

interpretOffsetExists() public method

public interpretOffsetExists ( $requestId, $indexId, $index )

interpretOffsetGet() public method

public interpretOffsetGet ( $requestId, $indexId, $index )

interpretSum() public method

public interpretSum ( $requestId, Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction

resolveOptionalProjection() protected method

protected resolveOptionalProjection ( Pinq\Queries\Builders\Functions\IFunction $function = null )
$function Pinq\Queries\Builders\Functions\IFunction