private function loadExtendedTypes($serviceId, $name, ContainerBuilder $container)
    {
        foreach (array('choice', 'language', 'country', 'timezone', 'locale', 'entity', 'ajax') as $type) {
            $typeDef = new DefinitionDecorator($serviceId);
            $typeDef
                ->addArgument($type)
                ->addTag('form.type', array('alias' => $name. '_' . $type))
            ;
    
            $container->setDefinition($serviceId.'.'.$type, $typeDef);
        }
    }
private function loadExtendedTypes($serviceId, $name, ContainerBuilder $container)
    {
        foreach (array('choice', 'language', 'country', 'timezone', 'locale', 'entity', 'ajax') as $type) {
            $typeDef = new DefinitionDecorator($serviceId);
            $typeDef
                ->addArgument($type)
                ->addTag('form.type', array('alias' => $name. '_' . $type))
            ;
    
            $container->setDefinition($serviceId.'.'.$type, $typeDef);
        }
    }
private function loadExtendedTypes ( $ serviceId , $ name , ContainerBuilder $ container ) { foreach ( array ( 'choice' , 'language' , 'country' , 'timezone' , 'locale' , 'entity' , 'ajax' ) as $ type ) { $ typeDef = new DefinitionDecorator ( $ serviceId ) ; $ typeDef -> addArgument ( $ type ) -> addTag ( 'form.type' , array ( 'alias' => $ name . '_' . $ type ) ) ; $ container -> setDefinition ( $ serviceId . '.' . $ type , $ typeDef ) ; } }
Loads extended form types.

@param string           $serviceId Id of the abstract service
@param string           $name      Name of the type
@param ContainerBuilder $container A ContainerBuilder instance
Loads extended form types .