protected function setupWpcliDriver(FileLoader $loader, ContainerBuilder $container, array $config)
    {
        if (! isset($config['wpcli'])) {
            return;
        }

        $loader->load('drivers/wpcli.yml');

        $config['wpcli']['alias'] = isset($config['wpcli']['alias']) ? $config['wpcli']['alias'] : '';
        $container->setParameter('wordpress.driver.wpcli.alias', $config['wpcli']['alias']);

        $config['wpcli']['path'] = isset($config['path']) ? $config['path'] : '';
        $container->setParameter('wordpress.driver.wpcli.path', $config['path']);

        $config['wpcli']['binary'] = isset($config['wpcli']['binary']) ? $config['wpcli']['binary'] : null;
        $container->setParameter('wordpress.driver.wpcli.binary', $config['wpcli']['binary']);
    }
protected function setupWpcliDriver(FileLoader $loader, ContainerBuilder $container, array $config)
    {
        if (! isset($config['wpcli'])) {
            return;
        }

        $loader->load('drivers/wpcli.yml');

        $config['wpcli']['alias'] = isset($config['wpcli']['alias']) ? $config['wpcli']['alias'] : '';
        $container->setParameter('wordpress.driver.wpcli.alias', $config['wpcli']['alias']);

        $config['wpcli']['path'] = isset($config['path']) ? $config['path'] : '';
        $container->setParameter('wordpress.driver.wpcli.path', $config['path']);

        $config['wpcli']['binary'] = isset($config['wpcli']['binary']) ? $config['wpcli']['binary'] : null;
        $container->setParameter('wordpress.driver.wpcli.binary', $config['wpcli']['binary']);
    }
protected function setupWpcliDriver ( FileLoader $ loader , ContainerBuilder $ container , array $ config ) { if ( ! isset ( $ config [ 'wpcli' ] ) ) { return ; } $ loader -> load ( 'drivers/wpcli.yml' ) ; $ config [ 'wpcli' ] [ 'alias' ] = isset ( $ config [ 'wpcli' ] [ 'alias' ] ) ? $ config [ 'wpcli' ] [ 'alias' ] : '' ; $ container -> setParameter ( 'wordpress.driver.wpcli.alias' , $ config [ 'wpcli' ] [ 'alias' ] ) ; $ config [ 'wpcli' ] [ 'path' ] = isset ( $ config [ 'path' ] ) ? $ config [ 'path' ] : '' ; $ container -> setParameter ( 'wordpress.driver.wpcli.path' , $ config [ 'path' ] ) ; $ config [ 'wpcli' ] [ 'binary' ] = isset ( $ config [ 'wpcli' ] [ 'binary' ] ) ? $ config [ 'wpcli' ] [ 'binary' ] : null ; $ container -> setParameter ( 'wordpress.driver.wpcli.binary' , $ config [ 'wpcli' ] [ 'binary' ] ) ; }
Load settings for the WP-CLI driver.

@param FileLoader $loader
@param ContainerBuilder $container
@param array $config
Load settings for the WP - CLI driver .