FrameworkConfig
in package
implements
ConfigBuilderInterface
This class is automatically generated to help in creating a config.
Table of Contents
Interfaces
- ConfigBuilderInterface
- A ConfigBuilder provides helper methods to build a large complex array.
Properties
- $_usedProperties : mixed
- $annotations : mixed
- $assets : mixed
- $cache : mixed
- $csrfProtection : mixed
- $defaultLocale : mixed
- $disallowSearchEngineIndex : mixed
- $enabledLocales : mixed
- $errorController : mixed
- $esi : mixed
- $exceptions : mixed
- $form : mixed
- $fragments : mixed
- $httpCache : mixed
- $httpClient : mixed
- $httpMethodOverride : mixed
- $ide : mixed
- $lock : mixed
- $mailer : mixed
- $messenger : mixed
- $notifier : mixed
- $phpErrors : mixed
- $profiler : mixed
- $propertyAccess : mixed
- $propertyInfo : mixed
- $rateLimiter : mixed
- $request : mixed
- $router : mixed
- $secret : mixed
- $secrets : mixed
- $serializer : mixed
- $session : mixed
- $setContentLanguageFromLocale : mixed
- $setLocaleFromAcceptLanguage : mixed
- $ssi : mixed
- $test : mixed
- $translator : mixed
- $trustedHeaders : mixed
- $trustedHosts : mixed
- $trustedProxies : mixed
- $uid : mixed
- $validation : mixed
- $webLink : mixed
- $workflows : mixed
Methods
- __construct() : mixed
- annotations() : AnnotationsConfig
- assets() : AssetsConfig
- cache() : CacheConfig
- csrfProtection() : CsrfProtectionConfig
- defaultLocale() : $this
- disallowSearchEngineIndex() : $this
- Enabled by default when debug is enabled.
- enabledLocales() : $this
- errorController() : $this
- esi() : EsiConfig|$this
- exception() : ExceptionConfig|$this
- form() : FormConfig
- fragments() : FragmentsConfig|$this
- getExtensionAlias() : string
- Gets the alias for the extension which config we are building.
- httpCache() : HttpCacheConfig|$this
- httpClient() : HttpClientConfig|$this
- httpMethodOverride() : $this
- Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests. Note: When using the HttpCache, you need to call the method in your front controller instead
- ide() : $this
- lock() : LockConfig|$this
- mailer() : MailerConfig
- messenger() : MessengerConfig
- notifier() : NotifierConfig
- phpErrors() : PhpErrorsConfig
- profiler() : ProfilerConfig|$this
- propertyAccess() : PropertyAccessConfig
- propertyInfo() : PropertyInfoConfig
- rateLimiter() : RateLimiterConfig|$this
- request() : RequestConfig|$this
- router() : RouterConfig|$this
- secret() : $this
- secrets() : SecretsConfig
- serializer() : SerializerConfig
- session() : SessionConfig|$this
- setContentLanguageFromLocale() : $this
- Whether to set the Content-Language HTTP header on the Response using the Request locale.
- setLocaleFromAcceptLanguage() : $this
- Whether to use the Accept-Language HTTP header to set the Request locale (only when the "_locale" request attribute is not passed).
- ssi() : SsiConfig|$this
- test() : $this
- toArray() : array<string|int, mixed>
- Gets all configuration represented as an array.
- translator() : TranslatorConfig
- trustedHeaders() : $this
- trustedHosts() : $this
- trustedProxies() : $this
- uid() : UidConfig
- validation() : ValidationConfig
- webLink() : WebLinkConfig
- workflows() : WorkflowsConfig|$this
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$annotations
private
mixed
$annotations
$assets
private
mixed
$assets
$cache
private
mixed
$cache
$csrfProtection
private
mixed
$csrfProtection
$defaultLocale
private
mixed
$defaultLocale
$disallowSearchEngineIndex
private
mixed
$disallowSearchEngineIndex
$enabledLocales
private
mixed
$enabledLocales
$errorController
private
mixed
$errorController
$esi
private
mixed
$esi
$exceptions
private
mixed
$exceptions
$form
private
mixed
$form
$fragments
private
mixed
$fragments
$httpCache
private
mixed
$httpCache
$httpClient
private
mixed
$httpClient
$httpMethodOverride
private
mixed
$httpMethodOverride
$ide
private
mixed
$ide
$lock
private
mixed
$lock
$mailer
private
mixed
$mailer
$messenger
private
mixed
$messenger
$notifier
private
mixed
$notifier
$phpErrors
private
mixed
$phpErrors
$profiler
private
mixed
$profiler
$propertyAccess
private
mixed
$propertyAccess
$propertyInfo
private
mixed
$propertyInfo
$rateLimiter
private
mixed
$rateLimiter
$request
private
mixed
$request
$router
private
mixed
$router
$secret
private
mixed
$secret
$secrets
private
mixed
$secrets
$serializer
private
mixed
$serializer
$session
private
mixed
$session
$setContentLanguageFromLocale
private
mixed
$setContentLanguageFromLocale
$setLocaleFromAcceptLanguage
private
mixed
$setLocaleFromAcceptLanguage
$ssi
private
mixed
$ssi
$test
private
mixed
$test
$translator
private
mixed
$translator
$trustedHeaders
private
mixed
$trustedHeaders
$trustedHosts
private
mixed
$trustedHosts
$trustedProxies
private
mixed
$trustedProxies
$uid
private
mixed
$uid
$validation
private
mixed
$validation
$webLink
private
mixed
$webLink
$workflows
private
mixed
$workflows
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
annotations()
public
annotations([array<string|int, mixed> $value = [] ]) : AnnotationsConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
AnnotationsConfigassets()
public
assets([array<string|int, mixed> $value = [] ]) : AssetsConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
AssetsConfigcache()
public
cache([array<string|int, mixed> $value = [] ]) : CacheConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
CacheConfigcsrfProtection()
public
csrfProtection([array<string|int, mixed> $value = [] ]) : CsrfProtectionConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
CsrfProtectionConfigdefaultLocale()
public
defaultLocale(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisdisallowSearchEngineIndex()
Enabled by default when debug is enabled.
public
disallowSearchEngineIndex(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisenabledLocales()
public
enabledLocales(ParamConfigurator|array<int, ParamConfigurator|mixed> $value) : $this
Parameters
- $value : ParamConfigurator|array<int, ParamConfigurator|mixed>
Return values
$thiserrorController()
public
errorController(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisesi()
public
esi([mixed $value = [] ]) : EsiConfig|$this
Parameters
- $value : mixed = []
Return values
EsiConfig|$thisexception()
public
exception(string $class[, mixed $value = [] ]) : ExceptionConfig|$this
Parameters
- $class : string
- $value : mixed = []
Return values
ExceptionConfig|$thisform()
public
form([array<string|int, mixed> $value = [] ]) : FormConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
FormConfigfragments()
public
fragments([mixed $value = [] ]) : FragmentsConfig|$this
Parameters
- $value : mixed = []
Return values
FragmentsConfig|$thisgetExtensionAlias()
Gets the alias for the extension which config we are building.
public
getExtensionAlias() : string
Return values
stringhttpCache()
public
httpCache([mixed $value = [] ]) : HttpCacheConfig|$this
Parameters
- $value : mixed = []
Return values
HttpCacheConfig|$thishttpClient()
public
httpClient([mixed $value = [] ]) : HttpClientConfig|$this
Parameters
- $value : mixed = []
Return values
HttpClientConfig|$thishttpMethodOverride()
Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests. Note: When using the HttpCache, you need to call the method in your front controller instead
public
httpMethodOverride(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thiside()
public
ide(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thislock()
public
lock([mixed $value = [] ]) : LockConfig|$this
Parameters
- $value : mixed = []
Return values
LockConfig|$thismailer()
public
mailer([array<string|int, mixed> $value = [] ]) : MailerConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
MailerConfigmessenger()
public
messenger([array<string|int, mixed> $value = [] ]) : MessengerConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
MessengerConfignotifier()
public
notifier([array<string|int, mixed> $value = [] ]) : NotifierConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
NotifierConfigphpErrors()
public
phpErrors([array<string|int, mixed> $value = [] ]) : PhpErrorsConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
PhpErrorsConfigprofiler()
public
profiler([mixed $value = [] ]) : ProfilerConfig|$this
Parameters
- $value : mixed = []
Return values
ProfilerConfig|$thispropertyAccess()
public
propertyAccess([array<string|int, mixed> $value = [] ]) : PropertyAccessConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
PropertyAccessConfigpropertyInfo()
public
propertyInfo([array<string|int, mixed> $value = [] ]) : PropertyInfoConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
PropertyInfoConfigrateLimiter()
public
rateLimiter([mixed $value = [] ]) : RateLimiterConfig|$this
Parameters
- $value : mixed = []
Return values
RateLimiterConfig|$thisrequest()
public
request([mixed $value = [] ]) : RequestConfig|$this
Parameters
- $value : mixed = []
Return values
RequestConfig|$thisrouter()
public
router([mixed $value = [] ]) : RouterConfig|$this
Parameters
- $value : mixed = []
Return values
RouterConfig|$thissecret()
public
secret(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thissecrets()
public
secrets([array<string|int, mixed> $value = [] ]) : SecretsConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
SecretsConfigserializer()
public
serializer([array<string|int, mixed> $value = [] ]) : SerializerConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
SerializerConfigsession()
public
session([mixed $value = [] ]) : SessionConfig|$this
Parameters
- $value : mixed = []
Return values
SessionConfig|$thissetContentLanguageFromLocale()
Whether to set the Content-Language HTTP header on the Response using the Request locale.
public
setContentLanguageFromLocale(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thissetLocaleFromAcceptLanguage()
Whether to use the Accept-Language HTTP header to set the Request locale (only when the "_locale" request attribute is not passed).
public
setLocaleFromAcceptLanguage(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisssi()
public
ssi([mixed $value = [] ]) : SsiConfig|$this
Parameters
- $value : mixed = []
Return values
SsiConfig|$thistest()
public
test(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thistoArray()
Gets all configuration represented as an array.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>translator()
public
translator([array<string|int, mixed> $value = [] ]) : TranslatorConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
TranslatorConfigtrustedHeaders()
public
trustedHeaders(mixed $value) : $this
Parameters
- $value : mixed
Return values
$thistrustedHosts()
public
trustedHosts(mixed $value) : $this
Parameters
- $value : mixed
Return values
$thistrustedProxies()
public
trustedProxies(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisuid()
public
uid([array<string|int, mixed> $value = [] ]) : UidConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
UidConfigvalidation()
public
validation([array<string|int, mixed> $value = [] ]) : ValidationConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
ValidationConfigwebLink()
public
webLink([array<string|int, mixed> $value = [] ]) : WebLinkConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
WebLinkConfigworkflows()
public
workflows([mixed $value = [] ]) : WorkflowsConfig|$this
Parameters
- $value : mixed = []