PHP 인터페이스 Neos\Eel\FlowQuery\OperationInterface

파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
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