stash light
This commit is contained in:
@@ -369,7 +369,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
|
||||
* }>,
|
||||
* },
|
||||
* property_access?: bool|array{ // Property access configuration
|
||||
* enabled?: bool|Param, // Default: false
|
||||
* enabled?: bool|Param, // Default: true
|
||||
* magic_call?: bool|Param, // Default: false
|
||||
* magic_get?: bool|Param, // Default: true
|
||||
* magic_set?: bool|Param, // Default: true
|
||||
@@ -377,11 +377,11 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
|
||||
* throw_exception_on_invalid_property_path?: bool|Param, // Default: true
|
||||
* },
|
||||
* type_info?: bool|array{ // Type info configuration
|
||||
* enabled?: bool|Param, // Default: false
|
||||
* enabled?: bool|Param, // Default: true
|
||||
* aliases?: array<string, scalar|null|Param>,
|
||||
* },
|
||||
* property_info?: bool|array{ // Property info configuration
|
||||
* enabled?: bool|Param, // Default: false
|
||||
* enabled?: bool|Param, // Default: true
|
||||
* with_constructor_extractor?: bool|Param, // Registers the constructor extractor.
|
||||
* },
|
||||
* cache?: array{ // Cache configuration
|
||||
@@ -833,18 +833,629 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
|
||||
* },
|
||||
* }>,
|
||||
* }
|
||||
* @psalm-type SecurityConfig = array{
|
||||
* access_denied_url?: scalar|null|Param, // Default: null
|
||||
* session_fixation_strategy?: "none"|"migrate"|"invalidate"|Param, // Default: "migrate"
|
||||
* hide_user_not_found?: bool|Param, // Deprecated: The "hide_user_not_found" option is deprecated and will be removed in 8.0. Use the "expose_security_errors" option instead.
|
||||
* expose_security_errors?: \Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::None|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::AccountStatus|\Symfony\Component\Security\Http\Authentication\ExposeSecurityLevel::All|Param, // Default: "none"
|
||||
* erase_credentials?: bool|Param, // Default: true
|
||||
* access_decision_manager?: array{
|
||||
* strategy?: "affirmative"|"consensus"|"unanimous"|"priority"|Param,
|
||||
* service?: scalar|null|Param,
|
||||
* strategy_service?: scalar|null|Param,
|
||||
* allow_if_all_abstain?: bool|Param, // Default: false
|
||||
* allow_if_equal_granted_denied?: bool|Param, // Default: true
|
||||
* },
|
||||
* password_hashers?: array<string, string|array{ // Default: []
|
||||
* algorithm?: scalar|null|Param,
|
||||
* migrate_from?: list<scalar|null|Param>,
|
||||
* hash_algorithm?: scalar|null|Param, // Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms. // Default: "sha512"
|
||||
* key_length?: scalar|null|Param, // Default: 40
|
||||
* ignore_case?: bool|Param, // Default: false
|
||||
* encode_as_base64?: bool|Param, // Default: true
|
||||
* iterations?: scalar|null|Param, // Default: 5000
|
||||
* cost?: int|Param, // Default: null
|
||||
* memory_cost?: scalar|null|Param, // Default: null
|
||||
* time_cost?: scalar|null|Param, // Default: null
|
||||
* id?: scalar|null|Param,
|
||||
* }>,
|
||||
* providers?: array<string, array{ // Default: []
|
||||
* id?: scalar|null|Param,
|
||||
* chain?: array{
|
||||
* providers?: list<scalar|null|Param>,
|
||||
* },
|
||||
* memory?: array{
|
||||
* users?: array<string, array{ // Default: []
|
||||
* password?: scalar|null|Param, // Default: null
|
||||
* roles?: list<scalar|null|Param>,
|
||||
* }>,
|
||||
* },
|
||||
* ldap?: array{
|
||||
* service: scalar|null|Param,
|
||||
* base_dn: scalar|null|Param,
|
||||
* search_dn?: scalar|null|Param, // Default: null
|
||||
* search_password?: scalar|null|Param, // Default: null
|
||||
* extra_fields?: list<scalar|null|Param>,
|
||||
* default_roles?: list<scalar|null|Param>,
|
||||
* role_fetcher?: scalar|null|Param, // Default: null
|
||||
* uid_key?: scalar|null|Param, // Default: "sAMAccountName"
|
||||
* filter?: scalar|null|Param, // Default: "({uid_key}={user_identifier})"
|
||||
* password_attribute?: scalar|null|Param, // Default: null
|
||||
* },
|
||||
* entity?: array{
|
||||
* class: scalar|null|Param, // The full entity class name of your user class.
|
||||
* property?: scalar|null|Param, // Default: null
|
||||
* manager_name?: scalar|null|Param, // Default: null
|
||||
* },
|
||||
* }>,
|
||||
* firewalls: array<string, array{ // Default: []
|
||||
* pattern?: scalar|null|Param,
|
||||
* host?: scalar|null|Param,
|
||||
* methods?: list<scalar|null|Param>,
|
||||
* security?: bool|Param, // Default: true
|
||||
* user_checker?: scalar|null|Param, // The UserChecker to use when authenticating users in this firewall. // Default: "security.user_checker"
|
||||
* request_matcher?: scalar|null|Param,
|
||||
* access_denied_url?: scalar|null|Param,
|
||||
* access_denied_handler?: scalar|null|Param,
|
||||
* entry_point?: scalar|null|Param, // An enabled authenticator name or a service id that implements "Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface".
|
||||
* provider?: scalar|null|Param,
|
||||
* stateless?: bool|Param, // Default: false
|
||||
* lazy?: bool|Param, // Default: false
|
||||
* context?: scalar|null|Param,
|
||||
* logout?: array{
|
||||
* enable_csrf?: bool|null|Param, // Default: null
|
||||
* csrf_token_id?: scalar|null|Param, // Default: "logout"
|
||||
* csrf_parameter?: scalar|null|Param, // Default: "_csrf_token"
|
||||
* csrf_token_manager?: scalar|null|Param,
|
||||
* path?: scalar|null|Param, // Default: "/logout"
|
||||
* target?: scalar|null|Param, // Default: "/"
|
||||
* invalidate_session?: bool|Param, // Default: true
|
||||
* clear_site_data?: list<"*"|"cache"|"cookies"|"storage"|"executionContexts"|Param>,
|
||||
* delete_cookies?: array<string, array{ // Default: []
|
||||
* path?: scalar|null|Param, // Default: null
|
||||
* domain?: scalar|null|Param, // Default: null
|
||||
* secure?: scalar|null|Param, // Default: false
|
||||
* samesite?: scalar|null|Param, // Default: null
|
||||
* partitioned?: scalar|null|Param, // Default: false
|
||||
* }>,
|
||||
* },
|
||||
* switch_user?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* parameter?: scalar|null|Param, // Default: "_switch_user"
|
||||
* role?: scalar|null|Param, // Default: "ROLE_ALLOWED_TO_SWITCH"
|
||||
* target_route?: scalar|null|Param, // Default: null
|
||||
* },
|
||||
* required_badges?: list<scalar|null|Param>,
|
||||
* custom_authenticators?: list<scalar|null|Param>,
|
||||
* login_throttling?: array{
|
||||
* limiter?: scalar|null|Param, // A service id implementing "Symfony\Component\HttpFoundation\RateLimiter\RequestRateLimiterInterface".
|
||||
* max_attempts?: int|Param, // Default: 5
|
||||
* interval?: scalar|null|Param, // Default: "1 minute"
|
||||
* lock_factory?: scalar|null|Param, // The service ID of the lock factory used by the login rate limiter (or null to disable locking). // Default: null
|
||||
* cache_pool?: string|Param, // The cache pool to use for storing the limiter state // Default: "cache.rate_limiter"
|
||||
* storage_service?: string|Param, // The service ID of a custom storage implementation, this precedes any configured "cache_pool" // Default: null
|
||||
* },
|
||||
* x509?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* user?: scalar|null|Param, // Default: "SSL_CLIENT_S_DN_Email"
|
||||
* credentials?: scalar|null|Param, // Default: "SSL_CLIENT_S_DN"
|
||||
* user_identifier?: scalar|null|Param, // Default: "emailAddress"
|
||||
* },
|
||||
* remote_user?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* user?: scalar|null|Param, // Default: "REMOTE_USER"
|
||||
* },
|
||||
* login_link?: array{
|
||||
* check_route: scalar|null|Param, // Route that will validate the login link - e.g. "app_login_link_verify".
|
||||
* check_post_only?: scalar|null|Param, // If true, only HTTP POST requests to "check_route" will be handled by the authenticator. // Default: false
|
||||
* signature_properties: list<scalar|null|Param>,
|
||||
* lifetime?: int|Param, // The lifetime of the login link in seconds. // Default: 600
|
||||
* max_uses?: int|Param, // Max number of times a login link can be used - null means unlimited within lifetime. // Default: null
|
||||
* used_link_cache?: scalar|null|Param, // Cache service id used to expired links of max_uses is set.
|
||||
* success_handler?: scalar|null|Param, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface.
|
||||
* failure_handler?: scalar|null|Param, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface.
|
||||
* provider?: scalar|null|Param, // The user provider to load users from.
|
||||
* secret?: scalar|null|Param, // Default: "%kernel.secret%"
|
||||
* always_use_default_target_path?: bool|Param, // Default: false
|
||||
* default_target_path?: scalar|null|Param, // Default: "/"
|
||||
* login_path?: scalar|null|Param, // Default: "/login"
|
||||
* target_path_parameter?: scalar|null|Param, // Default: "_target_path"
|
||||
* use_referer?: bool|Param, // Default: false
|
||||
* failure_path?: scalar|null|Param, // Default: null
|
||||
* failure_forward?: bool|Param, // Default: false
|
||||
* failure_path_parameter?: scalar|null|Param, // Default: "_failure_path"
|
||||
* },
|
||||
* form_login?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* remember_me?: bool|Param, // Default: true
|
||||
* success_handler?: scalar|null|Param,
|
||||
* failure_handler?: scalar|null|Param,
|
||||
* check_path?: scalar|null|Param, // Default: "/login_check"
|
||||
* use_forward?: bool|Param, // Default: false
|
||||
* login_path?: scalar|null|Param, // Default: "/login"
|
||||
* username_parameter?: scalar|null|Param, // Default: "_username"
|
||||
* password_parameter?: scalar|null|Param, // Default: "_password"
|
||||
* csrf_parameter?: scalar|null|Param, // Default: "_csrf_token"
|
||||
* csrf_token_id?: scalar|null|Param, // Default: "authenticate"
|
||||
* enable_csrf?: bool|Param, // Default: false
|
||||
* post_only?: bool|Param, // Default: true
|
||||
* form_only?: bool|Param, // Default: false
|
||||
* always_use_default_target_path?: bool|Param, // Default: false
|
||||
* default_target_path?: scalar|null|Param, // Default: "/"
|
||||
* target_path_parameter?: scalar|null|Param, // Default: "_target_path"
|
||||
* use_referer?: bool|Param, // Default: false
|
||||
* failure_path?: scalar|null|Param, // Default: null
|
||||
* failure_forward?: bool|Param, // Default: false
|
||||
* failure_path_parameter?: scalar|null|Param, // Default: "_failure_path"
|
||||
* },
|
||||
* form_login_ldap?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* remember_me?: bool|Param, // Default: true
|
||||
* success_handler?: scalar|null|Param,
|
||||
* failure_handler?: scalar|null|Param,
|
||||
* check_path?: scalar|null|Param, // Default: "/login_check"
|
||||
* use_forward?: bool|Param, // Default: false
|
||||
* login_path?: scalar|null|Param, // Default: "/login"
|
||||
* username_parameter?: scalar|null|Param, // Default: "_username"
|
||||
* password_parameter?: scalar|null|Param, // Default: "_password"
|
||||
* csrf_parameter?: scalar|null|Param, // Default: "_csrf_token"
|
||||
* csrf_token_id?: scalar|null|Param, // Default: "authenticate"
|
||||
* enable_csrf?: bool|Param, // Default: false
|
||||
* post_only?: bool|Param, // Default: true
|
||||
* form_only?: bool|Param, // Default: false
|
||||
* always_use_default_target_path?: bool|Param, // Default: false
|
||||
* default_target_path?: scalar|null|Param, // Default: "/"
|
||||
* target_path_parameter?: scalar|null|Param, // Default: "_target_path"
|
||||
* use_referer?: bool|Param, // Default: false
|
||||
* failure_path?: scalar|null|Param, // Default: null
|
||||
* failure_forward?: bool|Param, // Default: false
|
||||
* failure_path_parameter?: scalar|null|Param, // Default: "_failure_path"
|
||||
* service?: scalar|null|Param, // Default: "ldap"
|
||||
* dn_string?: scalar|null|Param, // Default: "{user_identifier}"
|
||||
* query_string?: scalar|null|Param,
|
||||
* search_dn?: scalar|null|Param, // Default: ""
|
||||
* search_password?: scalar|null|Param, // Default: ""
|
||||
* },
|
||||
* json_login?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* remember_me?: bool|Param, // Default: true
|
||||
* success_handler?: scalar|null|Param,
|
||||
* failure_handler?: scalar|null|Param,
|
||||
* check_path?: scalar|null|Param, // Default: "/login_check"
|
||||
* use_forward?: bool|Param, // Default: false
|
||||
* login_path?: scalar|null|Param, // Default: "/login"
|
||||
* username_path?: scalar|null|Param, // Default: "username"
|
||||
* password_path?: scalar|null|Param, // Default: "password"
|
||||
* },
|
||||
* json_login_ldap?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* remember_me?: bool|Param, // Default: true
|
||||
* success_handler?: scalar|null|Param,
|
||||
* failure_handler?: scalar|null|Param,
|
||||
* check_path?: scalar|null|Param, // Default: "/login_check"
|
||||
* use_forward?: bool|Param, // Default: false
|
||||
* login_path?: scalar|null|Param, // Default: "/login"
|
||||
* username_path?: scalar|null|Param, // Default: "username"
|
||||
* password_path?: scalar|null|Param, // Default: "password"
|
||||
* service?: scalar|null|Param, // Default: "ldap"
|
||||
* dn_string?: scalar|null|Param, // Default: "{user_identifier}"
|
||||
* query_string?: scalar|null|Param,
|
||||
* search_dn?: scalar|null|Param, // Default: ""
|
||||
* search_password?: scalar|null|Param, // Default: ""
|
||||
* },
|
||||
* access_token?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* remember_me?: bool|Param, // Default: true
|
||||
* success_handler?: scalar|null|Param,
|
||||
* failure_handler?: scalar|null|Param,
|
||||
* realm?: scalar|null|Param, // Default: null
|
||||
* token_extractors?: list<scalar|null|Param>,
|
||||
* token_handler: string|array{
|
||||
* id?: scalar|null|Param,
|
||||
* oidc_user_info?: string|array{
|
||||
* base_uri: scalar|null|Param, // Base URI of the userinfo endpoint on the OIDC server, or the OIDC server URI to use the discovery (require "discovery" to be configured).
|
||||
* discovery?: array{ // Enable the OIDC discovery.
|
||||
* cache?: array{
|
||||
* id: scalar|null|Param, // Cache service id to use to cache the OIDC discovery configuration.
|
||||
* },
|
||||
* },
|
||||
* claim?: scalar|null|Param, // Claim which contains the user identifier (e.g. sub, email, etc.). // Default: "sub"
|
||||
* client?: scalar|null|Param, // HttpClient service id to use to call the OIDC server.
|
||||
* },
|
||||
* oidc?: array{
|
||||
* discovery?: array{ // Enable the OIDC discovery.
|
||||
* base_uri: list<scalar|null|Param>,
|
||||
* cache?: array{
|
||||
* id: scalar|null|Param, // Cache service id to use to cache the OIDC discovery configuration.
|
||||
* },
|
||||
* },
|
||||
* claim?: scalar|null|Param, // Claim which contains the user identifier (e.g.: sub, email..). // Default: "sub"
|
||||
* audience: scalar|null|Param, // Audience set in the token, for validation purpose.
|
||||
* issuers: list<scalar|null|Param>,
|
||||
* algorithm?: array<mixed>,
|
||||
* algorithms: list<scalar|null|Param>,
|
||||
* key?: scalar|null|Param, // Deprecated: The "key" option is deprecated and will be removed in 8.0. Use the "keyset" option instead. // JSON-encoded JWK used to sign the token (must contain a "kty" key).
|
||||
* keyset?: scalar|null|Param, // JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys).
|
||||
* encryption?: bool|array{
|
||||
* enabled?: bool|Param, // Default: false
|
||||
* enforce?: bool|Param, // When enabled, the token shall be encrypted. // Default: false
|
||||
* algorithms: list<scalar|null|Param>,
|
||||
* keyset: scalar|null|Param, // JSON-encoded JWKSet used to decrypt the token (must contain a list of valid private keys).
|
||||
* },
|
||||
* },
|
||||
* cas?: array{
|
||||
* validation_url: scalar|null|Param, // CAS server validation URL
|
||||
* prefix?: scalar|null|Param, // CAS prefix // Default: "cas"
|
||||
* http_client?: scalar|null|Param, // HTTP Client service // Default: null
|
||||
* },
|
||||
* oauth2?: scalar|null|Param,
|
||||
* },
|
||||
* },
|
||||
* http_basic?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* realm?: scalar|null|Param, // Default: "Secured Area"
|
||||
* },
|
||||
* http_basic_ldap?: array{
|
||||
* provider?: scalar|null|Param,
|
||||
* realm?: scalar|null|Param, // Default: "Secured Area"
|
||||
* service?: scalar|null|Param, // Default: "ldap"
|
||||
* dn_string?: scalar|null|Param, // Default: "{user_identifier}"
|
||||
* query_string?: scalar|null|Param,
|
||||
* search_dn?: scalar|null|Param, // Default: ""
|
||||
* search_password?: scalar|null|Param, // Default: ""
|
||||
* },
|
||||
* remember_me?: array{
|
||||
* secret?: scalar|null|Param, // Default: "%kernel.secret%"
|
||||
* service?: scalar|null|Param,
|
||||
* user_providers?: list<scalar|null|Param>,
|
||||
* catch_exceptions?: bool|Param, // Default: true
|
||||
* signature_properties?: list<scalar|null|Param>,
|
||||
* token_provider?: string|array{
|
||||
* service?: scalar|null|Param, // The service ID of a custom remember-me token provider.
|
||||
* doctrine?: bool|array{
|
||||
* enabled?: bool|Param, // Default: false
|
||||
* connection?: scalar|null|Param, // Default: null
|
||||
* },
|
||||
* },
|
||||
* token_verifier?: scalar|null|Param, // The service ID of a custom rememberme token verifier.
|
||||
* name?: scalar|null|Param, // Default: "REMEMBERME"
|
||||
* lifetime?: int|Param, // Default: 31536000
|
||||
* path?: scalar|null|Param, // Default: "/"
|
||||
* domain?: scalar|null|Param, // Default: null
|
||||
* secure?: true|false|"auto"|Param, // Default: null
|
||||
* httponly?: bool|Param, // Default: true
|
||||
* samesite?: null|"lax"|"strict"|"none"|Param, // Default: "lax"
|
||||
* always_remember_me?: bool|Param, // Default: false
|
||||
* remember_me_parameter?: scalar|null|Param, // Default: "_remember_me"
|
||||
* },
|
||||
* }>,
|
||||
* access_control?: list<array{ // Default: []
|
||||
* request_matcher?: scalar|null|Param, // Default: null
|
||||
* requires_channel?: scalar|null|Param, // Default: null
|
||||
* path?: scalar|null|Param, // Use the urldecoded format. // Default: null
|
||||
* host?: scalar|null|Param, // Default: null
|
||||
* port?: int|Param, // Default: null
|
||||
* ips?: list<scalar|null|Param>,
|
||||
* attributes?: array<string, scalar|null|Param>,
|
||||
* route?: scalar|null|Param, // Default: null
|
||||
* methods?: list<scalar|null|Param>,
|
||||
* allow_if?: scalar|null|Param, // Default: null
|
||||
* roles?: list<scalar|null|Param>,
|
||||
* }>,
|
||||
* role_hierarchy?: array<string, string|list<scalar|null|Param>>,
|
||||
* }
|
||||
* @psalm-type DoctrineConfig = array{
|
||||
* dbal?: array{
|
||||
* default_connection?: scalar|null|Param,
|
||||
* types?: array<string, string|array{ // Default: []
|
||||
* class: scalar|null|Param,
|
||||
* commented?: bool|Param, // Deprecated: The doctrine-bundle type commenting features were removed; the corresponding config parameter was deprecated in 2.0 and will be dropped in 3.0.
|
||||
* }>,
|
||||
* driver_schemes?: array<string, scalar|null|Param>,
|
||||
* connections?: array<string, array{ // Default: []
|
||||
* url?: scalar|null|Param, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
|
||||
* dbname?: scalar|null|Param,
|
||||
* host?: scalar|null|Param, // Defaults to "localhost" at runtime.
|
||||
* port?: scalar|null|Param, // Defaults to null at runtime.
|
||||
* user?: scalar|null|Param, // Defaults to "root" at runtime.
|
||||
* password?: scalar|null|Param, // Defaults to null at runtime.
|
||||
* override_url?: bool|Param, // Deprecated: The "doctrine.dbal.override_url" configuration key is deprecated.
|
||||
* dbname_suffix?: scalar|null|Param, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
|
||||
* application_name?: scalar|null|Param,
|
||||
* charset?: scalar|null|Param,
|
||||
* path?: scalar|null|Param,
|
||||
* memory?: bool|Param,
|
||||
* unix_socket?: scalar|null|Param, // The unix socket to use for MySQL
|
||||
* persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
|
||||
* protocol?: scalar|null|Param, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
|
||||
* service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
|
||||
* servicename?: scalar|null|Param, // Overrules dbname parameter if given and used as SERVICE_NAME or SID connection parameter for Oracle depending on the service parameter.
|
||||
* sessionMode?: scalar|null|Param, // The session mode to use for the oci8 driver
|
||||
* server?: scalar|null|Param, // The name of a running database server to connect to for SQL Anywhere.
|
||||
* default_dbname?: scalar|null|Param, // Override the default database (postgres) to connect to for PostgreSQL connexion.
|
||||
* sslmode?: scalar|null|Param, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
|
||||
* sslrootcert?: scalar|null|Param, // The name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed by one of these authorities.
|
||||
* sslcert?: scalar|null|Param, // The path to the SSL client certificate file for PostgreSQL.
|
||||
* sslkey?: scalar|null|Param, // The path to the SSL client key file for PostgreSQL.
|
||||
* sslcrl?: scalar|null|Param, // The file name of the SSL certificate revocation list for PostgreSQL.
|
||||
* pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
|
||||
* MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
|
||||
* use_savepoints?: bool|Param, // Use savepoints for nested transactions
|
||||
* instancename?: scalar|null|Param, // Optional parameter, complete whether to add the INSTANCE_NAME parameter in the connection. It is generally used to connect to an Oracle RAC server to select the name of a particular instance.
|
||||
* connectstring?: scalar|null|Param, // Complete Easy Connect connection descriptor, see https://docs.oracle.com/database/121/NETAG/naming.htm.When using this option, you will still need to provide the user and password parameters, but the other parameters will no longer be used. Note that when using this parameter, the getHost and getPort methods from Doctrine\DBAL\Connection will no longer function as expected.
|
||||
* driver?: scalar|null|Param, // Default: "pdo_mysql"
|
||||
* platform_service?: scalar|null|Param, // Deprecated: The "platform_service" configuration key is deprecated since doctrine-bundle 2.9. DBAL 4 will not support setting a custom platform via connection params anymore.
|
||||
* auto_commit?: bool|Param,
|
||||
* schema_filter?: scalar|null|Param,
|
||||
* logging?: bool|Param, // Default: true
|
||||
* profiling?: bool|Param, // Default: true
|
||||
* profiling_collect_backtrace?: bool|Param, // Enables collecting backtraces when profiling is enabled // Default: false
|
||||
* profiling_collect_schema_errors?: bool|Param, // Enables collecting schema errors when profiling is enabled // Default: true
|
||||
* disable_type_comments?: bool|Param,
|
||||
* server_version?: scalar|null|Param,
|
||||
* idle_connection_ttl?: int|Param, // Default: 600
|
||||
* driver_class?: scalar|null|Param,
|
||||
* wrapper_class?: scalar|null|Param,
|
||||
* keep_slave?: bool|Param, // Deprecated: The "keep_slave" configuration key is deprecated since doctrine-bundle 2.2. Use the "keep_replica" configuration key instead.
|
||||
* keep_replica?: bool|Param,
|
||||
* options?: array<string, mixed>,
|
||||
* mapping_types?: array<string, scalar|null|Param>,
|
||||
* default_table_options?: array<string, scalar|null|Param>,
|
||||
* schema_manager_factory?: scalar|null|Param, // Default: "doctrine.dbal.default_schema_manager_factory"
|
||||
* result_cache?: scalar|null|Param,
|
||||
* slaves?: array<string, array{ // Default: []
|
||||
* url?: scalar|null|Param, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
|
||||
* dbname?: scalar|null|Param,
|
||||
* host?: scalar|null|Param, // Defaults to "localhost" at runtime.
|
||||
* port?: scalar|null|Param, // Defaults to null at runtime.
|
||||
* user?: scalar|null|Param, // Defaults to "root" at runtime.
|
||||
* password?: scalar|null|Param, // Defaults to null at runtime.
|
||||
* override_url?: bool|Param, // Deprecated: The "doctrine.dbal.override_url" configuration key is deprecated.
|
||||
* dbname_suffix?: scalar|null|Param, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
|
||||
* application_name?: scalar|null|Param,
|
||||
* charset?: scalar|null|Param,
|
||||
* path?: scalar|null|Param,
|
||||
* memory?: bool|Param,
|
||||
* unix_socket?: scalar|null|Param, // The unix socket to use for MySQL
|
||||
* persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
|
||||
* protocol?: scalar|null|Param, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
|
||||
* service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
|
||||
* servicename?: scalar|null|Param, // Overrules dbname parameter if given and used as SERVICE_NAME or SID connection parameter for Oracle depending on the service parameter.
|
||||
* sessionMode?: scalar|null|Param, // The session mode to use for the oci8 driver
|
||||
* server?: scalar|null|Param, // The name of a running database server to connect to for SQL Anywhere.
|
||||
* default_dbname?: scalar|null|Param, // Override the default database (postgres) to connect to for PostgreSQL connexion.
|
||||
* sslmode?: scalar|null|Param, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
|
||||
* sslrootcert?: scalar|null|Param, // The name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed by one of these authorities.
|
||||
* sslcert?: scalar|null|Param, // The path to the SSL client certificate file for PostgreSQL.
|
||||
* sslkey?: scalar|null|Param, // The path to the SSL client key file for PostgreSQL.
|
||||
* sslcrl?: scalar|null|Param, // The file name of the SSL certificate revocation list for PostgreSQL.
|
||||
* pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
|
||||
* MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
|
||||
* use_savepoints?: bool|Param, // Use savepoints for nested transactions
|
||||
* instancename?: scalar|null|Param, // Optional parameter, complete whether to add the INSTANCE_NAME parameter in the connection. It is generally used to connect to an Oracle RAC server to select the name of a particular instance.
|
||||
* connectstring?: scalar|null|Param, // Complete Easy Connect connection descriptor, see https://docs.oracle.com/database/121/NETAG/naming.htm.When using this option, you will still need to provide the user and password parameters, but the other parameters will no longer be used. Note that when using this parameter, the getHost and getPort methods from Doctrine\DBAL\Connection will no longer function as expected.
|
||||
* }>,
|
||||
* replicas?: array<string, array{ // Default: []
|
||||
* url?: scalar|null|Param, // A URL with connection information; any parameter value parsed from this string will override explicitly set parameters
|
||||
* dbname?: scalar|null|Param,
|
||||
* host?: scalar|null|Param, // Defaults to "localhost" at runtime.
|
||||
* port?: scalar|null|Param, // Defaults to null at runtime.
|
||||
* user?: scalar|null|Param, // Defaults to "root" at runtime.
|
||||
* password?: scalar|null|Param, // Defaults to null at runtime.
|
||||
* override_url?: bool|Param, // Deprecated: The "doctrine.dbal.override_url" configuration key is deprecated.
|
||||
* dbname_suffix?: scalar|null|Param, // Adds the given suffix to the configured database name, this option has no effects for the SQLite platform
|
||||
* application_name?: scalar|null|Param,
|
||||
* charset?: scalar|null|Param,
|
||||
* path?: scalar|null|Param,
|
||||
* memory?: bool|Param,
|
||||
* unix_socket?: scalar|null|Param, // The unix socket to use for MySQL
|
||||
* persistent?: bool|Param, // True to use as persistent connection for the ibm_db2 driver
|
||||
* protocol?: scalar|null|Param, // The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)
|
||||
* service?: bool|Param, // True to use SERVICE_NAME as connection parameter instead of SID for Oracle
|
||||
* servicename?: scalar|null|Param, // Overrules dbname parameter if given and used as SERVICE_NAME or SID connection parameter for Oracle depending on the service parameter.
|
||||
* sessionMode?: scalar|null|Param, // The session mode to use for the oci8 driver
|
||||
* server?: scalar|null|Param, // The name of a running database server to connect to for SQL Anywhere.
|
||||
* default_dbname?: scalar|null|Param, // Override the default database (postgres) to connect to for PostgreSQL connexion.
|
||||
* sslmode?: scalar|null|Param, // Determines whether or with what priority a SSL TCP/IP connection will be negotiated with the server for PostgreSQL.
|
||||
* sslrootcert?: scalar|null|Param, // The name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed by one of these authorities.
|
||||
* sslcert?: scalar|null|Param, // The path to the SSL client certificate file for PostgreSQL.
|
||||
* sslkey?: scalar|null|Param, // The path to the SSL client key file for PostgreSQL.
|
||||
* sslcrl?: scalar|null|Param, // The file name of the SSL certificate revocation list for PostgreSQL.
|
||||
* pooled?: bool|Param, // True to use a pooled server with the oci8/pdo_oracle driver
|
||||
* MultipleActiveResultSets?: bool|Param, // Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
|
||||
* use_savepoints?: bool|Param, // Use savepoints for nested transactions
|
||||
* instancename?: scalar|null|Param, // Optional parameter, complete whether to add the INSTANCE_NAME parameter in the connection. It is generally used to connect to an Oracle RAC server to select the name of a particular instance.
|
||||
* connectstring?: scalar|null|Param, // Complete Easy Connect connection descriptor, see https://docs.oracle.com/database/121/NETAG/naming.htm.When using this option, you will still need to provide the user and password parameters, but the other parameters will no longer be used. Note that when using this parameter, the getHost and getPort methods from Doctrine\DBAL\Connection will no longer function as expected.
|
||||
* }>,
|
||||
* }>,
|
||||
* },
|
||||
* orm?: array{
|
||||
* default_entity_manager?: scalar|null|Param,
|
||||
* auto_generate_proxy_classes?: scalar|null|Param, // Auto generate mode possible values are: "NEVER", "ALWAYS", "FILE_NOT_EXISTS", "EVAL", "FILE_NOT_EXISTS_OR_CHANGED", this option is ignored when the "enable_native_lazy_objects" option is true // Default: false
|
||||
* enable_lazy_ghost_objects?: bool|Param, // Enables the new implementation of proxies based on lazy ghosts instead of using the legacy implementation // Default: true
|
||||
* enable_native_lazy_objects?: bool|Param, // Enables the new native implementation of PHP lazy objects instead of generated proxies // Default: false
|
||||
* proxy_dir?: scalar|null|Param, // Configures the path where generated proxy classes are saved when using non-native lazy objects, this option is ignored when the "enable_native_lazy_objects" option is true // Default: "%kernel.build_dir%/doctrine/orm/Proxies"
|
||||
* proxy_namespace?: scalar|null|Param, // Defines the root namespace for generated proxy classes when using non-native lazy objects, this option is ignored when the "enable_native_lazy_objects" option is true // Default: "Proxies"
|
||||
* controller_resolver?: bool|array{
|
||||
* enabled?: bool|Param, // Default: true
|
||||
* auto_mapping?: bool|null|Param, // Set to false to disable using route placeholders as lookup criteria when the primary key doesn't match the argument name // Default: null
|
||||
* evict_cache?: bool|Param, // Set to true to fetch the entity from the database instead of using the cache, if any // Default: false
|
||||
* },
|
||||
* entity_managers?: array<string, array{ // Default: []
|
||||
* query_cache_driver?: string|array{
|
||||
* type?: scalar|null|Param, // Default: null
|
||||
* id?: scalar|null|Param,
|
||||
* pool?: scalar|null|Param,
|
||||
* },
|
||||
* metadata_cache_driver?: string|array{
|
||||
* type?: scalar|null|Param, // Default: null
|
||||
* id?: scalar|null|Param,
|
||||
* pool?: scalar|null|Param,
|
||||
* },
|
||||
* result_cache_driver?: string|array{
|
||||
* type?: scalar|null|Param, // Default: null
|
||||
* id?: scalar|null|Param,
|
||||
* pool?: scalar|null|Param,
|
||||
* },
|
||||
* entity_listeners?: array{
|
||||
* entities?: array<string, array{ // Default: []
|
||||
* listeners?: array<string, array{ // Default: []
|
||||
* events?: list<array{ // Default: []
|
||||
* type?: scalar|null|Param,
|
||||
* method?: scalar|null|Param, // Default: null
|
||||
* }>,
|
||||
* }>,
|
||||
* }>,
|
||||
* },
|
||||
* connection?: scalar|null|Param,
|
||||
* class_metadata_factory_name?: scalar|null|Param, // Default: "Doctrine\\ORM\\Mapping\\ClassMetadataFactory"
|
||||
* default_repository_class?: scalar|null|Param, // Default: "Doctrine\\ORM\\EntityRepository"
|
||||
* auto_mapping?: scalar|null|Param, // Default: false
|
||||
* naming_strategy?: scalar|null|Param, // Default: "doctrine.orm.naming_strategy.default"
|
||||
* quote_strategy?: scalar|null|Param, // Default: "doctrine.orm.quote_strategy.default"
|
||||
* typed_field_mapper?: scalar|null|Param, // Default: "doctrine.orm.typed_field_mapper.default"
|
||||
* entity_listener_resolver?: scalar|null|Param, // Default: null
|
||||
* fetch_mode_subselect_batch_size?: scalar|null|Param,
|
||||
* repository_factory?: scalar|null|Param, // Default: "doctrine.orm.container_repository_factory"
|
||||
* schema_ignore_classes?: list<scalar|null|Param>,
|
||||
* report_fields_where_declared?: bool|Param, // Set to "true" to opt-in to the new mapping driver mode that was added in Doctrine ORM 2.16 and will be mandatory in ORM 3.0. See https://github.com/doctrine/orm/pull/10455. // Default: true
|
||||
* validate_xml_mapping?: bool|Param, // Set to "true" to opt-in to the new mapping driver mode that was added in Doctrine ORM 2.14. See https://github.com/doctrine/orm/pull/6728. // Default: false
|
||||
* second_level_cache?: array{
|
||||
* region_cache_driver?: string|array{
|
||||
* type?: scalar|null|Param, // Default: null
|
||||
* id?: scalar|null|Param,
|
||||
* pool?: scalar|null|Param,
|
||||
* },
|
||||
* region_lock_lifetime?: scalar|null|Param, // Default: 60
|
||||
* log_enabled?: bool|Param, // Default: true
|
||||
* region_lifetime?: scalar|null|Param, // Default: 3600
|
||||
* enabled?: bool|Param, // Default: true
|
||||
* factory?: scalar|null|Param,
|
||||
* regions?: array<string, array{ // Default: []
|
||||
* cache_driver?: string|array{
|
||||
* type?: scalar|null|Param, // Default: null
|
||||
* id?: scalar|null|Param,
|
||||
* pool?: scalar|null|Param,
|
||||
* },
|
||||
* lock_path?: scalar|null|Param, // Default: "%kernel.cache_dir%/doctrine/orm/slc/filelock"
|
||||
* lock_lifetime?: scalar|null|Param, // Default: 60
|
||||
* type?: scalar|null|Param, // Default: "default"
|
||||
* lifetime?: scalar|null|Param, // Default: 0
|
||||
* service?: scalar|null|Param,
|
||||
* name?: scalar|null|Param,
|
||||
* }>,
|
||||
* loggers?: array<string, array{ // Default: []
|
||||
* name?: scalar|null|Param,
|
||||
* service?: scalar|null|Param,
|
||||
* }>,
|
||||
* },
|
||||
* hydrators?: array<string, scalar|null|Param>,
|
||||
* mappings?: array<string, bool|string|array{ // Default: []
|
||||
* mapping?: scalar|null|Param, // Default: true
|
||||
* type?: scalar|null|Param,
|
||||
* dir?: scalar|null|Param,
|
||||
* alias?: scalar|null|Param,
|
||||
* prefix?: scalar|null|Param,
|
||||
* is_bundle?: bool|Param,
|
||||
* }>,
|
||||
* dql?: array{
|
||||
* string_functions?: array<string, scalar|null|Param>,
|
||||
* numeric_functions?: array<string, scalar|null|Param>,
|
||||
* datetime_functions?: array<string, scalar|null|Param>,
|
||||
* },
|
||||
* filters?: array<string, string|array{ // Default: []
|
||||
* class: scalar|null|Param,
|
||||
* enabled?: bool|Param, // Default: false
|
||||
* parameters?: array<string, mixed>,
|
||||
* }>,
|
||||
* identity_generation_preferences?: array<string, scalar|null|Param>,
|
||||
* }>,
|
||||
* resolve_target_entities?: array<string, scalar|null|Param>,
|
||||
* },
|
||||
* }
|
||||
* @psalm-type DoctrineMigrationsConfig = array{
|
||||
* enable_service_migrations?: bool|Param, // Whether to enable fetching migrations from the service container. // Default: false
|
||||
* migrations_paths?: array<string, scalar|null|Param>,
|
||||
* services?: array<string, scalar|null|Param>,
|
||||
* factories?: array<string, scalar|null|Param>,
|
||||
* storage?: array{ // Storage to use for migration status metadata.
|
||||
* table_storage?: array{ // The default metadata storage, implemented as a table in the database.
|
||||
* table_name?: scalar|null|Param, // Default: null
|
||||
* version_column_name?: scalar|null|Param, // Default: null
|
||||
* version_column_length?: scalar|null|Param, // Default: null
|
||||
* executed_at_column_name?: scalar|null|Param, // Default: null
|
||||
* execution_time_column_name?: scalar|null|Param, // Default: null
|
||||
* },
|
||||
* },
|
||||
* migrations?: list<scalar|null|Param>,
|
||||
* connection?: scalar|null|Param, // Connection name to use for the migrations database. // Default: null
|
||||
* em?: scalar|null|Param, // Entity manager name to use for the migrations database (available when doctrine/orm is installed). // Default: null
|
||||
* all_or_nothing?: scalar|null|Param, // Run all migrations in a transaction. // Default: false
|
||||
* check_database_platform?: scalar|null|Param, // Adds an extra check in the generated migrations to allow execution only on the same platform as they were initially generated on. // Default: true
|
||||
* custom_template?: scalar|null|Param, // Custom template path for generated migration classes. // Default: null
|
||||
* organize_migrations?: scalar|null|Param, // Organize migrations mode. Possible values are: "BY_YEAR", "BY_YEAR_AND_MONTH", false // Default: false
|
||||
* enable_profiler?: bool|Param, // Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead. // Default: false
|
||||
* transactional?: bool|Param, // Whether or not to wrap migrations in a single transaction. // Default: true
|
||||
* }
|
||||
* @psalm-type MakerConfig = array{
|
||||
* root_namespace?: scalar|null|Param, // Default: "App"
|
||||
* generate_final_classes?: bool|Param, // Default: true
|
||||
* generate_final_entities?: bool|Param, // Default: false
|
||||
* }
|
||||
* @psalm-type TwigConfig = array{
|
||||
* form_themes?: list<scalar|null|Param>,
|
||||
* globals?: array<string, array{ // Default: []
|
||||
* id?: scalar|null|Param,
|
||||
* type?: scalar|null|Param,
|
||||
* value?: mixed,
|
||||
* }>,
|
||||
* autoescape_service?: scalar|null|Param, // Default: null
|
||||
* autoescape_service_method?: scalar|null|Param, // Default: null
|
||||
* base_template_class?: scalar|null|Param, // Deprecated: The child node "base_template_class" at path "twig.base_template_class" is deprecated.
|
||||
* cache?: scalar|null|Param, // Default: true
|
||||
* charset?: scalar|null|Param, // Default: "%kernel.charset%"
|
||||
* debug?: bool|Param, // Default: "%kernel.debug%"
|
||||
* strict_variables?: bool|Param, // Default: "%kernel.debug%"
|
||||
* auto_reload?: scalar|null|Param,
|
||||
* optimizations?: int|Param,
|
||||
* default_path?: scalar|null|Param, // The default path used to load templates. // Default: "%kernel.project_dir%/templates"
|
||||
* file_name_pattern?: list<scalar|null|Param>,
|
||||
* paths?: array<string, mixed>,
|
||||
* date?: array{ // The default format options used by the date filter.
|
||||
* format?: scalar|null|Param, // Default: "F j, Y H:i"
|
||||
* interval_format?: scalar|null|Param, // Default: "%d days"
|
||||
* timezone?: scalar|null|Param, // The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used. // Default: null
|
||||
* },
|
||||
* number_format?: array{ // The default format options for the number_format filter.
|
||||
* decimals?: int|Param, // Default: 0
|
||||
* decimal_point?: scalar|null|Param, // Default: "."
|
||||
* thousands_separator?: scalar|null|Param, // Default: ","
|
||||
* },
|
||||
* mailer?: array{
|
||||
* html_to_text_converter?: scalar|null|Param, // A service implementing the "Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface". // Default: null
|
||||
* },
|
||||
* }
|
||||
* @psalm-type ConfigType = array{
|
||||
* imports?: ImportsConfig,
|
||||
* parameters?: ParametersConfig,
|
||||
* services?: ServicesConfig,
|
||||
* framework?: FrameworkConfig,
|
||||
* monolog?: MonologConfig,
|
||||
* security?: SecurityConfig,
|
||||
* doctrine?: DoctrineConfig,
|
||||
* doctrine_migrations?: DoctrineMigrationsConfig,
|
||||
* twig?: TwigConfig,
|
||||
* "when@dev"?: array{
|
||||
* imports?: ImportsConfig,
|
||||
* parameters?: ParametersConfig,
|
||||
* services?: ServicesConfig,
|
||||
* framework?: FrameworkConfig,
|
||||
* monolog?: MonologConfig,
|
||||
* security?: SecurityConfig,
|
||||
* doctrine?: DoctrineConfig,
|
||||
* doctrine_migrations?: DoctrineMigrationsConfig,
|
||||
* maker?: MakerConfig,
|
||||
* twig?: TwigConfig,
|
||||
* },
|
||||
* "when@prod"?: array{
|
||||
* imports?: ImportsConfig,
|
||||
@@ -852,6 +1463,10 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
|
||||
* services?: ServicesConfig,
|
||||
* framework?: FrameworkConfig,
|
||||
* monolog?: MonologConfig,
|
||||
* security?: SecurityConfig,
|
||||
* doctrine?: DoctrineConfig,
|
||||
* doctrine_migrations?: DoctrineMigrationsConfig,
|
||||
* twig?: TwigConfig,
|
||||
* },
|
||||
* "when@test"?: array{
|
||||
* imports?: ImportsConfig,
|
||||
@@ -859,6 +1474,10 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
|
||||
* services?: ServicesConfig,
|
||||
* framework?: FrameworkConfig,
|
||||
* monolog?: MonologConfig,
|
||||
* security?: SecurityConfig,
|
||||
* doctrine?: DoctrineConfig,
|
||||
* doctrine_migrations?: DoctrineMigrationsConfig,
|
||||
* twig?: TwigConfig,
|
||||
* },
|
||||
* ...<string, ExtensionType|array{ // extra keys must follow the when@%env% pattern or match an extension alias
|
||||
* imports?: ImportsConfig,
|
||||
|
||||
Reference in New Issue
Block a user