PHP Класс Pinq\Providers\DSL\Compilation\Parameters\ParameterCollection

Автор: Elliot Levin ([email protected])
Наследование: extends ParameterCollectionBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( )
add ( Pinq\Providers\DSL\Compilation\Parameters\IQueryParameter $parameter ) : void Adds an parameter to the collection with the supplied context.
addExpression ( Expression $expression, Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher $hasher, Pinq\Queries\Functions\IFunction $context = null, mixed $data = null ) : void Adds an expression parameter to the collection.
addId ( $parameterId, Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher $hasher, mixed $data = null ) : void Adds a standard parameter id to the collection.
buildRegistry ( ) : ParameterRegistry Builds an immutable parameter registry from the added parameters.
remove ( Pinq\Providers\DSL\Compilation\Parameters\IQueryParameter $parameter ) : void Removes a query parameter from the collection.

Описание методов

__construct() публичный метод

public __construct ( )

add() публичный метод

Adds an parameter to the collection with the supplied context.
public add ( Pinq\Providers\DSL\Compilation\Parameters\IQueryParameter $parameter ) : void
$parameter Pinq\Providers\DSL\Compilation\Parameters\IQueryParameter
Результат void

addExpression() публичный метод

Adds an expression parameter to the collection.
public addExpression ( Expression $expression, Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher $hasher, Pinq\Queries\Functions\IFunction $context = null, mixed $data = null ) : void
$expression pinq\expressions\Expression
$hasher Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher
$context Pinq\Queries\Functions\IFunction
$data mixed
Результат void

addId() публичный метод

Adds a standard parameter id to the collection.
public addId ( $parameterId, Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher $hasher, mixed $data = null ) : void
$parameterId
$hasher Pinq\Providers\DSL\Compilation\Parameters\IParameterHasher
$data mixed
Результат void

buildRegistry() публичный метод

Builds an immutable parameter registry from the added parameters.
public buildRegistry ( ) : ParameterRegistry
Результат ParameterRegistry

remove() публичный метод

Removes a query parameter from the collection.
public remove ( Pinq\Providers\DSL\Compilation\Parameters\IQueryParameter $parameter ) : void
$parameter Pinq\Providers\DSL\Compilation\Parameters\IQueryParameter
Результат void