public static function getAllProcessors($objectManager)
    {
        /** @var ReflectionService $reflectionService */
        $reflectionService = $objectManager->get(ReflectionService::class);
        $processorClassNames = $reflectionService->getAllImplementationClassNamesForInterface(IndexSettingProcessorInterface::class);

        $processors = [];
        foreach ($processorClassNames as $processorClassName) {
            $processors[$processorClassName] = [
                'priority' => $processorClassName::getPriority(),
                'className' => $processorClassName
            ];
        }

        return array_reverse(
            (new PositionalArraySorter($processors, 'priority'))->toArray()
        );
    }
public static function getAllProcessors($objectManager)
    {
        /** @var ReflectionService $reflectionService */
        $reflectionService = $objectManager->get(ReflectionService::class);
        $processorClassNames = $reflectionService->getAllImplementationClassNamesForInterface(IndexSettingProcessorInterface::class);

        $processors = [];
        foreach ($processorClassNames as $processorClassName) {
            $processors[$processorClassName] = [
                'priority' => $processorClassName::getPriority(),
                'className' => $processorClassName
            ];
        }

        return array_reverse(
            (new PositionalArraySorter($processors, 'priority'))->toArray()
        );
    }
public static function getAllProcessors ( $ objectManager ) { /** @var ReflectionService $reflectionService */ $ reflectionService = $ objectManager -> get ( ReflectionService :: class ) ; $ processorClassNames = $ reflectionService -> getAllImplementationClassNamesForInterface ( IndexSettingProcessorInterface :: class ) ; $ processors = [ ] ; foreach ( $ processorClassNames as $ processorClassName ) { $ processors [ $ processorClassName ] = [ 'priority' => $ processorClassName :: getPriority ( ) , 'className' => $ processorClassName ] ; } return array_reverse ( ( new PositionalArraySorter ( $ processors , 'priority' ) ) -> toArray ( ) ) ; }
Returns all class names implementing the IndexSettingProcessorInterface.

@Flow\CompileStatic
@param ObjectManagerInterface $objectManager
@return array
Returns all class names implementing the IndexSettingProcessorInterface .