addFragmentsSection example

return ContainerBuilder::willBeAvailable($package$class$parentPackages);
        };

        $enableIfStandalone = fn (string $package, string $class) => !class_exists(FullStack::class) && $willBeAvailable($package$class) ? 'canBeDisabled' : 'canBeEnabled';

        $this->addCsrfSection($rootNode);
        $this->addFormSection($rootNode$enableIfStandalone);
        $this->addHttpCacheSection($rootNode);
        $this->addEsiSection($rootNode);
        $this->addSsiSection($rootNode);
        $this->addFragmentsSection($rootNode);
        $this->addProfilerSection($rootNode);
        $this->addWorkflowSection($rootNode);
        $this->addRouterSection($rootNode);
        $this->addSessionSection($rootNode);
        $this->addRequestSection($rootNode);
        $this->addAssetsSection($rootNode$enableIfStandalone);
        $this->addAssetMapperSection($rootNode$enableIfStandalone);
        $this->addTranslatorSection($rootNode$enableIfStandalone);
        $this->addValidationSection($rootNode$enableIfStandalone);
        $this->addAnnotationsSection($rootNode$willBeAvailable);
        $this->addSerializerSection($rootNode$enableIfStandalone);
        
Home | Imprint | This part of the site doesn't use cookies.