Свойство | Тип | Описание | |
---|---|---|---|
$EntityMap | |||
$EntityType |
Метод | Описание | |
---|---|---|
BuildCriterion ( ) : |
Returns the built criterion | |
GroupBy ( callable $Expression ) : |
Specifies the function to use as grouping for the criterion. | |
Limit ( integer | null $Amount ) : |
Specifies the amount of entities to retrieve. Pass null to remove limit. | |
OrderBy ( callable $Expression ) : |
Specifies the closure to use as an ascending ordering for the criterion. | |
OrderByDescending ( callable $Expression ) : |
Specifies the function to use as an descending ordering for the criterion. | |
Skip ( integer $Amount ) : |
Specifies the amount of entities to skip. | |
Where ( callable $Predicate ) : |
Specifies a closure to parse as predicate for this criterion. | |
__construct ( Storm\Core\Object\IEntityMap $EntityMap, |
Метод | Описание | |
---|---|---|
FunctionToExpandedAST ( callable $Function ) : Storm\Drivers\Fluent\Object\Functional\IAST | Parses a given function into an IAST structure using the provider converter |
final public BuildCriterion ( ) : |
||
Результат | The specified criterion |
final protected FunctionToExpandedAST ( callable $Function ) : Storm\Drivers\Fluent\Object\Functional\IAST | ||
$Function | callable | The function to parse |
Результат | Storm\Drivers\Fluent\Object\Functional\IAST | The return |
function (Car $Car) {
return $Car->GetBrand();
}
function (Car $Car) {
return $Car->GetManufactureDate();
}
function (Car $Car) {
return $Car->GetManufactureDate();
}
final public OrderByDescending ( callable $Expression ) : |
||
$Expression | callable | The expression closure |
Результат |
function (Car $Car) use ($Name) {
return $Car->IsAvailable() && $Car->GetName() === $Name;
}
public __construct ( Storm\Core\Object\IEntityMap $EntityMap, |
||
$EntityMap | Storm\Core\Object\IEntityMap | |
$FunctionToASTConverter |