private function addManagerCall(ContainerBuilder $container, Definition $manager, $serviceId, array $tag)
    {
        $this->assertCorrectName($tag);
        $this->assertCorrectService($container, $serviceId);
        $options = !empty($tag['options']) ? json_decode($tag['options'], true) : array();
        $this->assertCorrectOptions($options);
        $manager->addMethodCall('addRunnerService', array($tag['name'], $serviceId, $options));
    }
private function addManagerCall(ContainerBuilder $container, Definition $manager, $serviceId, array $tag)
    {
        $this->assertCorrectName($tag);
        $this->assertCorrectService($container, $serviceId);
        $options = !empty($tag['options']) ? json_decode($tag['options'], true) : array();
        $this->assertCorrectOptions($options);
        $manager->addMethodCall('addRunnerService', array($tag['name'], $serviceId, $options));
    }
private function addManagerCall ( ContainerBuilder $ container , Definition $ manager , $ serviceId , array $ tag ) { $ this -> assertCorrectName ( $ tag ) ; $ this -> assertCorrectService ( $ container , $ serviceId ) ; $ options = ! empty ( $ tag [ 'options' ] ) ? json_decode ( $ tag [ 'options' ] , true ) : array ( ) ; $ this -> assertCorrectOptions ( $ options ) ; $ manager -> addMethodCall ( 'addRunnerService' , array ( $ tag [ 'name' ] , $ serviceId , $ options ) ) ; }
Parse single tagged service tag.

@param ContainerBuilder $container
@param Definition $manager
@param string $serviceId
@param array $tag
@throws InvalidArgumentException Thrown, if service initialization failed.
Parse single tagged service tag .