Classes/Service/HttpPushService.php
protected function getHttpPushHandler(): array
    {
        $arguments = [
            'httpPushServices' => [
                StyleHttpPush::class,
                ScriptHttpPush::class,
                ImageHttpPush::class,
                FontHttpPush::class,
            ],
        ];

        $objectManager = new ObjectManager();
        /** @var Dispatcher $dispatcher */
        $dispatcher = $objectManager->get(Dispatcher::class);
        try {
            $dispatcher->dispatch(__CLASS__, __METHOD__, $arguments);
        } catch (\Exception $exception) {
            $logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
            $logger->error('Problems in publis signal: ' . $exception->getMessage() . ' / ' . $exception->getFile() . ':' . $exception->getLine());
        }

        $objects = [];
        foreach ((array)$arguments['httpPushServices'] as $httpPushService) {
            $objects[] = GeneralUtility::makeInstance($httpPushService);
        }

        return $objects;
    }
protected function getHttpPushHandler(): array
    {
        $arguments = [
            'httpPushServices' => [
                StyleHttpPush::class,
                ScriptHttpPush::class,
                ImageHttpPush::class,
                FontHttpPush::class,
            ],
        ];

        $objectManager = new ObjectManager();
        /** @var Dispatcher $dispatcher */
        $dispatcher = $objectManager->get(Dispatcher::class);
        try {
            $dispatcher->dispatch(__CLASS__, __METHOD__, $arguments);
        } catch (\Exception $exception) {
            $logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
            $logger->error('Problems in publis signal: ' . $exception->getMessage() . ' / ' . $exception->getFile() . ':' . $exception->getLine());
        }

        $objects = [];
        foreach ((array)$arguments['httpPushServices'] as $httpPushService) {
            $objects[] = GeneralUtility::makeInstance($httpPushService);
        }

        return $objects;
    }
protected function getHttpPushHandler ( ) : array { $ arguments = [ 'httpPushServices' => [ StyleHttpPush :: class , ScriptHttpPush :: class , ImageHttpPush :: class , FontHttpPush :: class , ] , ] ; $ objectManager = new ObjectManager ( ) ; /** @var Dispatcher $dispatcher */ $ dispatcher = $ objectManager -> get ( Dispatcher :: class ) ; try { $ dispatcher -> dispatch ( __CLASS__ , __METHOD__ , $ arguments ) ; } catch ( \ Exception $ exception ) { $ logger = GeneralUtility :: makeInstance ( LogManager :: class ) -> getLogger ( __CLASS__ ) ; $ logger -> error ( 'Problems in publis signal: ' . $ exception -> getMessage ( ) . ' / ' . $ exception -> getFile ( ) . ':' . $ exception -> getLine ( ) ) ; } $ objects = [ ] ; foreach ( ( array ) $ arguments [ 'httpPushServices' ] as $ httpPushService ) { $ objects [ ] = GeneralUtility :: makeInstance ( $ httpPushService ) ; } return $ objects ; }
Get HTTP push handlers.

@return array
Get HTTP push handlers .