$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);
$this->
addPropertyAccessSection($rootNode,
$willBeAvailable);
$this->
addPropertyInfoSection($rootNode,
$enableIfStandalone);
$this->
addCacheSection($rootNode,
$willBeAvailable);
$this->
addPhpErrorsSection($rootNode);