PHP Class Pinq\QueryBuilder

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

Protected Properties

Свойство Type Description
$expression Pinq\Expressions\ValueExpression | Pinq\Expressions\TraversalExpression The query expression
$provider Pinq\Providers\IQueryProvider The query provider implementation

Méthodes publiques

Méthode Description
__construct ( Pinq\Providers\IQueryProvider $provider, TraversalExpression $queryExpression = null )

Méthodes protégées

Méthode Description
newMethod ( string $name, array $arguments = [] ) : MethodCallExpression
newMethodSegment ( string $name, array $arguments = [] ) : pinq\IQueryable Returns a new queryable instance with the supplied query segment appended to the current scope

Method Details

__construct() public méthode

public __construct ( Pinq\Providers\IQueryProvider $provider, TraversalExpression $queryExpression = null )
$provider Pinq\Providers\IQueryProvider
$queryExpression Pinq\Expressions\TraversalExpression

newMethod() protected méthode

protected newMethod ( string $name, array $arguments = [] ) : MethodCallExpression
$name string
$arguments array
Résultat Pinq\Expressions\MethodCallExpression

newMethodSegment() protected méthode

Returns a new queryable instance with the supplied query segment appended to the current scope
protected newMethodSegment ( string $name, array $arguments = [] ) : pinq\IQueryable
$name string
$arguments array
Résultat pinq\IQueryable

Property Details

$expression protected_oe property

The query expression
protected ValueExpression,Pinq\Expressions|TraversalExpression,Pinq\Expressions $expression
Résultat Pinq\Expressions\ValueExpression | Pinq\Expressions\TraversalExpression

$provider protected_oe property

The query provider implementation
protected IQueryProvider,Pinq\Providers $provider
Résultat Pinq\Providers\IQueryProvider