PHP Интерфейс Neos\Eel\FlowQuery\OperationInterface

Показать файл Открыть проект

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

Метод Описание
canEvaluate ( $context ) : boolean This method is called to determine whether the operation can work with the $context objects. It can be implemented to implement runtime conditions.
evaluate ( FlowQuery $flowQuery, array $arguments ) : mixed | null Evaluate the operation on the objects inside $flowQuery->getContext(), taking the $arguments into account.
getPriority ( ) : integer
getShortName ( ) : string
isFinal ( ) : boolean

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

canEvaluate() публичный Метод

This method is called to determine whether the operation can work with the $context objects. It can be implemented to implement runtime conditions.
public canEvaluate ( $context ) : boolean
Результат boolean TRUE if the operation can be applied onto the $context, FALSE otherwise

evaluate() публичный Метод

The resulting operation results should be stored using $flowQuery->setContext(). If the operation is final, evaluate should directly return the operation result.
public evaluate ( FlowQuery $flowQuery, array $arguments ) : mixed | null
$flowQuery FlowQuery the FlowQuery object
$arguments array the arguments for this operation
Результат mixed | null if the operation is final, the return value

getPriority() публичный статический Метод

public static getPriority ( ) : integer
Результат integer the priority of the operation

getShortName() публичный статический Метод

public static getShortName ( ) : string
Результат string the short name of the operation

isFinal() публичный статический Метод

public static isFinal ( ) : boolean
Результат boolean TRUE if the operation is final, FALSE otherwise