src/ItePHP/Structure/ServiceStructure.php
public function doConfig(ConfigBuilder $configBuilder){

        $configBuilder->addArray('service',new ConfigBuilderObject())->getValue()
            ->addString('class')
            ->addString('name')
            ->addBoolean('singleton',true)
            ->addArray('method',new ConfigBuilderObject())->getValue()
            ->addString('name')
            ->addArray('argument',new ConfigBuilderObject())->getValue()
            ->addString('type')
            ->addString('value'); //FIXME change to addMixed
    }
public function doConfig(ConfigBuilder $configBuilder){

        $configBuilder->addArray('service',new ConfigBuilderObject())->getValue()
            ->addString('class')
            ->addString('name')
            ->addBoolean('singleton',true)
            ->addArray('method',new ConfigBuilderObject())->getValue()
            ->addString('name')
            ->addArray('argument',new ConfigBuilderObject())->getValue()
            ->addString('type')
            ->addString('value'); //FIXME change to addMixed
    }
{@inheritdoc}