private function registerGuzzlePlugin(Definition $clientDefinition, array $plugins)
    {
        foreach ($plugins as $pluginId => $attributes) {
            $clientDefinition->addMethodCall(
                'addSubscriber',
                array(new Reference($pluginId))
            );
        }
    }
private function registerGuzzlePlugin(Definition $clientDefinition, array $plugins)
    {
        foreach ($plugins as $pluginId => $attributes) {
            $clientDefinition->addMethodCall(
                'addSubscriber',
                array(new Reference($pluginId))
            );
        }
    }
private function registerGuzzlePlugin ( Definition $ clientDefinition , array $ plugins ) { foreach ( $ plugins as $ pluginId => $ attributes ) { $ clientDefinition -> addMethodCall ( 'addSubscriber' , array ( new Reference ( $ pluginId ) ) ) ; } }
Register plugin for a client

@param Definition $clientDefinition
@param array      $plugins
Register plugin for a client