private function configureDeliveryOptions(array $options): array
    {
        $logger = $options['options']['logger'];
        if (\null !== $logger) {
            $options['options']['logger'] = \true === $logger
                ? new Reference(LoggerInterface::class)
                : new Reference($options['options']['logger']);
        }

        if (\null !== $options['options']['client']) {
            $options['options']['client'] = new Reference($options['options']['client']);
        }

        $pool = $options['options']['cache']['pool'];
        if (\null !== $pool) {
            $options['options']['cache']['pool'] = \true === $pool
                ? new Reference(CacheItemPoolInterface::class)
                : new Reference($pool);
        }

        return $options;
    }
private function configureDeliveryOptions(array $options): array
    {
        $logger = $options['options']['logger'];
        if (\null !== $logger) {
            $options['options']['logger'] = \true === $logger
                ? new Reference(LoggerInterface::class)
                : new Reference($options['options']['logger']);
        }

        if (\null !== $options['options']['client']) {
            $options['options']['client'] = new Reference($options['options']['client']);
        }

        $pool = $options['options']['cache']['pool'];
        if (\null !== $pool) {
            $options['options']['cache']['pool'] = \true === $pool
                ? new Reference(CacheItemPoolInterface::class)
                : new Reference($pool);
        }

        return $options;
    }
private function configureDeliveryOptions ( array $ options ) : array { $ logger = $ options [ 'options' ] [ 'logger' ] ; if ( \ null !== $ logger ) { $ options [ 'options' ] [ 'logger' ] = \ true === $ logger ? new Reference ( LoggerInterface :: class ) : new Reference ( $ options [ 'options' ] [ 'logger' ] ) ; } if ( \ null !== $ options [ 'options' ] [ 'client' ] ) { $ options [ 'options' ] [ 'client' ] = new Reference ( $ options [ 'options' ] [ 'client' ] ) ; } $ pool = $ options [ 'options' ] [ 'cache' ] [ 'pool' ] ; if ( \ null !== $ pool ) { $ options [ 'options' ] [ 'cache' ] [ 'pool' ] = \ true === $ pool ? new Reference ( CacheItemPoolInterface :: class ) : new Reference ( $ pool ) ; } return $ options ; }
Converts the references in the configuration into actual Reference objects.

@param array $options

@return array
Converts the references in the configuration into actual Reference objects .