PHP Class Neos\Eel\FlowQuery\OperationResolver

Inheritance: implements Neos\Eel\FlowQuery\OperationResolverInterface
Mostra file Open project: neos/flow-development-collection

Protected Properties

Property 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

Public Methods

Method 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 method

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

hasOperation() public method

public hasOperation ( string $operationName ) : boolean
$operationName string
return boolean

initializeObject() public method

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

isFinalOperation() public method

public isFinalOperation ( string $operationName ) : boolean
$operationName string
return boolean TRUE if $operationName is final

resolveOperation() public method

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

Property Details

$finalOperationNames protected_oe property

associative array of registered final operations: shortOperationName => shortOperationName
protected array $finalOperationNames
return array

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface

$operations protected_oe property

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

$reflectionService protected_oe property

protected ReflectionService,Neos\Flow\Reflection $reflectionService
return Neos\Flow\Reflection\ReflectionService