protected function parseProcessors(array $config): array
    {
        $processors = [];

        if (isset($config['processors']) && is_array($config['processors'])) {
            foreach ($config['processors'] as $processor) {
                $processors[] = $processor;
            }
        }

        return $processors;
    }
protected function parseProcessors(array $config): array
    {
        $processors = [];

        if (isset($config['processors']) && is_array($config['processors'])) {
            foreach ($config['processors'] as $processor) {
                $processors[] = $processor;
            }
        }

        return $processors;
    }
protected function parseProcessors ( array $ config ) : array { $ processors = [ ] ; if ( isset ( $ config [ 'processors' ] ) && is_array ( $ config [ 'processors' ] ) ) { foreach ( $ config [ 'processors' ] as $ processor ) { $ processors [ ] = $ processor ; } } return $ processors ; }
Extract the processors from the given configuration.

@param array $config
@return array
Extract the processors from the given configuration .