$willBeAvailable =
static function Dstring
$package, string
$class, string
$parentPackage = null
) { $parentPackages =
(array) $parentPackage;
$parentPackages[] = 'symfony/framework-bundle';
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);