PHP Class Neos\Eel\FlowQuery\OperationResolver

Inheritance: implements Neos\Eel\FlowQuery\OperationResolverInterface
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$finalOperationNames array associative array of registered final operations: shortOperationName => shortOperationName
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$operations array 2-dimensional array of registered operations: shortOperationName => priority => operation class name
$reflectionService Neos\Flow\Reflection\ReflectionService

Méthodes publiques

Méthode Description
buildOperationsAndFinalOperationNames ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array
hasOperation ( string $operationName ) : boolean
initializeObject ( ) Initializer, building up $this->operations and $this->finalOperationNames
isFinalOperation ( string $operationName ) : boolean
resolveOperation ( string $operationName, array | mixed $context ) : Neos\Eel\FlowQuery\OperationInterface Resolve an operation, taking runtime constraints into account.

Method Details

buildOperationsAndFinalOperationNames() public static méthode

public static buildOperationsAndFinalOperationNames ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
Résultat array Array of sorted operations and array of final operation names

hasOperation() public méthode

public hasOperation ( string $operationName ) : boolean
$operationName string
Résultat boolean

initializeObject() public méthode

Initializer, building up $this->operations and $this->finalOperationNames
public initializeObject ( )

isFinalOperation() public méthode

public isFinalOperation ( string $operationName ) : boolean
$operationName string
Résultat boolean TRUE if $operationName is final

resolveOperation() public méthode

Resolve an operation, taking runtime constraints into account.
public resolveOperation ( string $operationName, array | mixed $context ) : Neos\Eel\FlowQuery\OperationInterface
$operationName string
$context array | mixed
Résultat Neos\Eel\FlowQuery\OperationInterface the resolved operation

Property Details

$finalOperationNames protected_oe property

associative array of registered final operations: shortOperationName => shortOperationName
protected array $finalOperationNames
Résultat array

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Résultat Neos\Flow\ObjectManagement\ObjectManagerInterface

$operations protected_oe property

2-dimensional array of registered operations: shortOperationName => priority => operation class name
protected array $operations
Résultat array

$reflectionService protected_oe property

protected ReflectionService,Neos\Flow\Reflection $reflectionService
Résultat Neos\Flow\Reflection\ReflectionService