Sylius\Bundle\TaxationBundle\DependencyInjection\Configuration::addClassesSection PHP Метод

addClassesSection() приватный Метод

private addClassesSection ( ArrayNodeDefinition $node )
$node Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition
    private function addClassesSection(ArrayNodeDefinition $node)
    {
        $node->children()->arrayNode('resources')->addDefaultsIfNotSet()->children()->arrayNode('tax_category')->addDefaultsIfNotSet()->children()->variableNode('options')->end()->arrayNode('classes')->addDefaultsIfNotSet()->children()->scalarNode('model')->defaultValue(TaxCategory::class)->cannotBeEmpty()->end()->scalarNode('interface')->defaultValue(TaxCategoryInterface::class)->cannotBeEmpty()->end()->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end()->scalarNode('repository')->cannotBeEmpty()->end()->scalarNode('factory')->defaultValue(Factory::class)->end()->scalarNode('form')->defaultValue(TaxCategoryType::class)->cannotBeEmpty()->end()->end()->end()->end()->end()->arrayNode('tax_rate')->addDefaultsIfNotSet()->children()->variableNode('options')->end()->arrayNode('classes')->addDefaultsIfNotSet()->children()->scalarNode('model')->defaultValue(TaxRate::class)->cannotBeEmpty()->end()->scalarNode('interface')->defaultValue(TaxRateInterface::class)->cannotBeEmpty()->end()->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end()->scalarNode('repository')->cannotBeEmpty()->end()->scalarNode('factory')->defaultValue(Factory::class)->end()->scalarNode('form')->defaultValue(TaxRateType::class)->cannotBeEmpty()->end()->end()->end()->end()->end()->end()->end()->end();
    }