PHP Interface Neos\Eel\FlowQuery\OperationInterface

Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
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

Method Details

canEvaluate() public méthode

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
Résultat boolean TRUE if the operation can be applied onto the $context, FALSE otherwise

evaluate() public méthode

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
Résultat mixed | null if the operation is final, the return value

getPriority() public static méthode

public static getPriority ( ) : integer
Résultat integer the priority of the operation

getShortName() public static méthode

public static getShortName ( ) : string
Résultat string the short name of the operation

isFinal() public static méthode

public static isFinal ( ) : boolean
Résultat boolean TRUE if the operation is final, FALSE otherwise