Skip to content

Commit a40f561

Browse files
committed
Update the config reference
1 parent 396662f commit a40f561

File tree

1 file changed

+12
-241
lines changed

1 file changed

+12
-241
lines changed

config/reference.php

Lines changed: 12 additions & 241 deletions
Original file line numberDiff line numberDiff line change
@@ -719,29 +719,6 @@
719719
* chain?: array{
720720
* providers?: list<scalar|null>,
721721
* },
722-
* memory?: array{
723-
* users?: array<string, array{ // Default: []
724-
* password?: scalar|null, // Default: null
725-
* roles?: list<scalar|null>,
726-
* }>,
727-
* },
728-
* ldap?: array{
729-
* service: scalar|null,
730-
* base_dn: scalar|null,
731-
* search_dn?: scalar|null, // Default: null
732-
* search_password?: scalar|null, // Default: null
733-
* extra_fields?: list<scalar|null>,
734-
* default_roles?: list<scalar|null>,
735-
* role_fetcher?: scalar|null, // Default: null
736-
* uid_key?: scalar|null, // Default: "sAMAccountName"
737-
* filter?: scalar|null, // Default: "({uid_key}={user_identifier})"
738-
* password_attribute?: scalar|null, // Default: null
739-
* },
740-
* entity?: array{
741-
* class: scalar|null, // The full entity class name of your user class.
742-
* property?: scalar|null, // Default: null
743-
* manager_name?: scalar|null, // Default: null
744-
* },
745722
* }>,
746723
* firewalls: array<string, array{ // Default: []
747724
* pattern?: scalar|null,
@@ -781,208 +758,6 @@
781758
* target_route?: scalar|null, // Default: null
782759
* },
783760
* required_badges?: list<scalar|null>,
784-
* custom_authenticators?: list<scalar|null>,
785-
* login_throttling?: array{
786-
* limiter?: scalar|null, // A service id implementing "Symfony\Component\HttpFoundation\RateLimiter\RequestRateLimiterInterface".
787-
* max_attempts?: int, // Default: 5
788-
* interval?: scalar|null, // Default: "1 minute"
789-
* lock_factory?: scalar|null, // The service ID of the lock factory used by the login rate limiter (or null to disable locking). // Default: null
790-
* cache_pool?: string, // The cache pool to use for storing the limiter state // Default: "cache.rate_limiter"
791-
* storage_service?: string, // The service ID of a custom storage implementation, this precedes any configured "cache_pool" // Default: null
792-
* },
793-
* x509?: array{
794-
* provider?: scalar|null,
795-
* user?: scalar|null, // Default: "SSL_CLIENT_S_DN_Email"
796-
* credentials?: scalar|null, // Default: "SSL_CLIENT_S_DN"
797-
* user_identifier?: scalar|null, // Default: "emailAddress"
798-
* },
799-
* remote_user?: array{
800-
* provider?: scalar|null,
801-
* user?: scalar|null, // Default: "REMOTE_USER"
802-
* },
803-
* login_link?: array{
804-
* check_route: scalar|null, // Route that will validate the login link - e.g. "app_login_link_verify".
805-
* check_post_only?: scalar|null, // If true, only HTTP POST requests to "check_route" will be handled by the authenticator. // Default: false
806-
* signature_properties: list<scalar|null>,
807-
* lifetime?: int, // The lifetime of the login link in seconds. // Default: 600
808-
* max_uses?: int, // Max number of times a login link can be used - null means unlimited within lifetime. // Default: null
809-
* used_link_cache?: scalar|null, // Cache service id used to expired links of max_uses is set.
810-
* success_handler?: scalar|null, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface.
811-
* failure_handler?: scalar|null, // A service id that implements Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface.
812-
* provider?: scalar|null, // The user provider to load users from.
813-
* secret?: scalar|null, // Default: "%kernel.secret%"
814-
* always_use_default_target_path?: bool, // Default: false
815-
* default_target_path?: scalar|null, // Default: "/"
816-
* login_path?: scalar|null, // Default: "/login"
817-
* target_path_parameter?: scalar|null, // Default: "_target_path"
818-
* use_referer?: bool, // Default: false
819-
* failure_path?: scalar|null, // Default: null
820-
* failure_forward?: bool, // Default: false
821-
* failure_path_parameter?: scalar|null, // Default: "_failure_path"
822-
* },
823-
* form_login?: array{
824-
* provider?: scalar|null,
825-
* remember_me?: bool, // Default: true
826-
* success_handler?: scalar|null,
827-
* failure_handler?: scalar|null,
828-
* check_path?: scalar|null, // Default: "/login_check"
829-
* use_forward?: bool, // Default: false
830-
* login_path?: scalar|null, // Default: "/login"
831-
* username_parameter?: scalar|null, // Default: "_username"
832-
* password_parameter?: scalar|null, // Default: "_password"
833-
* csrf_parameter?: scalar|null, // Default: "_csrf_token"
834-
* csrf_token_id?: scalar|null, // Default: "authenticate"
835-
* enable_csrf?: bool, // Default: false
836-
* post_only?: bool, // Default: true
837-
* form_only?: bool, // Default: false
838-
* always_use_default_target_path?: bool, // Default: false
839-
* default_target_path?: scalar|null, // Default: "/"
840-
* target_path_parameter?: scalar|null, // Default: "_target_path"
841-
* use_referer?: bool, // Default: false
842-
* failure_path?: scalar|null, // Default: null
843-
* failure_forward?: bool, // Default: false
844-
* failure_path_parameter?: scalar|null, // Default: "_failure_path"
845-
* },
846-
* form_login_ldap?: array{
847-
* provider?: scalar|null,
848-
* remember_me?: bool, // Default: true
849-
* success_handler?: scalar|null,
850-
* failure_handler?: scalar|null,
851-
* check_path?: scalar|null, // Default: "/login_check"
852-
* use_forward?: bool, // Default: false
853-
* login_path?: scalar|null, // Default: "/login"
854-
* username_parameter?: scalar|null, // Default: "_username"
855-
* password_parameter?: scalar|null, // Default: "_password"
856-
* csrf_parameter?: scalar|null, // Default: "_csrf_token"
857-
* csrf_token_id?: scalar|null, // Default: "authenticate"
858-
* enable_csrf?: bool, // Default: false
859-
* post_only?: bool, // Default: true
860-
* form_only?: bool, // Default: false
861-
* always_use_default_target_path?: bool, // Default: false
862-
* default_target_path?: scalar|null, // Default: "/"
863-
* target_path_parameter?: scalar|null, // Default: "_target_path"
864-
* use_referer?: bool, // Default: false
865-
* failure_path?: scalar|null, // Default: null
866-
* failure_forward?: bool, // Default: false
867-
* failure_path_parameter?: scalar|null, // Default: "_failure_path"
868-
* service?: scalar|null, // Default: "ldap"
869-
* dn_string?: scalar|null, // Default: "{user_identifier}"
870-
* query_string?: scalar|null,
871-
* search_dn?: scalar|null, // Default: ""
872-
* search_password?: scalar|null, // Default: ""
873-
* },
874-
* json_login?: array{
875-
* provider?: scalar|null,
876-
* remember_me?: bool, // Default: true
877-
* success_handler?: scalar|null,
878-
* failure_handler?: scalar|null,
879-
* check_path?: scalar|null, // Default: "/login_check"
880-
* use_forward?: bool, // Default: false
881-
* login_path?: scalar|null, // Default: "/login"
882-
* username_path?: scalar|null, // Default: "username"
883-
* password_path?: scalar|null, // Default: "password"
884-
* },
885-
* json_login_ldap?: array{
886-
* provider?: scalar|null,
887-
* remember_me?: bool, // Default: true
888-
* success_handler?: scalar|null,
889-
* failure_handler?: scalar|null,
890-
* check_path?: scalar|null, // Default: "/login_check"
891-
* use_forward?: bool, // Default: false
892-
* login_path?: scalar|null, // Default: "/login"
893-
* username_path?: scalar|null, // Default: "username"
894-
* password_path?: scalar|null, // Default: "password"
895-
* service?: scalar|null, // Default: "ldap"
896-
* dn_string?: scalar|null, // Default: "{user_identifier}"
897-
* query_string?: scalar|null,
898-
* search_dn?: scalar|null, // Default: ""
899-
* search_password?: scalar|null, // Default: ""
900-
* },
901-
* access_token?: array{
902-
* provider?: scalar|null,
903-
* remember_me?: bool, // Default: true
904-
* success_handler?: scalar|null,
905-
* failure_handler?: scalar|null,
906-
* realm?: scalar|null, // Default: null
907-
* token_extractors?: list<scalar|null>,
908-
* token_handler: string|array{
909-
* id?: scalar|null,
910-
* oidc_user_info?: string|array{
911-
* base_uri: scalar|null, // Base URI of the userinfo endpoint on the OIDC server, or the OIDC server URI to use the discovery (require "discovery" to be configured).
912-
* discovery?: array{ // Enable the OIDC discovery.
913-
* cache?: array{
914-
* id: scalar|null, // Cache service id to use to cache the OIDC discovery configuration.
915-
* },
916-
* },
917-
* claim?: scalar|null, // Claim which contains the user identifier (e.g. sub, email, etc.). // Default: "sub"
918-
* client?: scalar|null, // HttpClient service id to use to call the OIDC server.
919-
* },
920-
* oidc?: array{
921-
* discovery?: array{ // Enable the OIDC discovery.
922-
* base_uri: list<scalar|null>,
923-
* cache?: array{
924-
* id: scalar|null, // Cache service id to use to cache the OIDC discovery configuration.
925-
* },
926-
* },
927-
* claim?: scalar|null, // Claim which contains the user identifier (e.g.: sub, email..). // Default: "sub"
928-
* audience: scalar|null, // Audience set in the token, for validation purpose.
929-
* issuers: list<scalar|null>,
930-
* algorithm?: array<mixed>,
931-
* algorithms: list<scalar|null>,
932-
* key?: scalar|null, // 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).
933-
* keyset?: scalar|null, // JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys).
934-
* encryption?: bool|array{
935-
* enabled?: bool, // Default: false
936-
* enforce?: bool, // When enabled, the token shall be encrypted. // Default: false
937-
* algorithms: list<scalar|null>,
938-
* keyset: scalar|null, // JSON-encoded JWKSet used to decrypt the token (must contain a list of valid private keys).
939-
* },
940-
* },
941-
* cas?: array{
942-
* validation_url: scalar|null, // CAS server validation URL
943-
* prefix?: scalar|null, // CAS prefix // Default: "cas"
944-
* http_client?: scalar|null, // HTTP Client service // Default: null
945-
* },
946-
* oauth2?: scalar|null,
947-
* },
948-
* },
949-
* http_basic?: array{
950-
* provider?: scalar|null,
951-
* realm?: scalar|null, // Default: "Secured Area"
952-
* },
953-
* http_basic_ldap?: array{
954-
* provider?: scalar|null,
955-
* realm?: scalar|null, // Default: "Secured Area"
956-
* service?: scalar|null, // Default: "ldap"
957-
* dn_string?: scalar|null, // Default: "{user_identifier}"
958-
* query_string?: scalar|null,
959-
* search_dn?: scalar|null, // Default: ""
960-
* search_password?: scalar|null, // Default: ""
961-
* },
962-
* remember_me?: array{
963-
* secret?: scalar|null, // Default: "%kernel.secret%"
964-
* service?: scalar|null,
965-
* user_providers?: list<scalar|null>,
966-
* catch_exceptions?: bool, // Default: true
967-
* signature_properties?: list<scalar|null>,
968-
* token_provider?: string|array{
969-
* service?: scalar|null, // The service ID of a custom remember-me token provider.
970-
* doctrine?: bool|array{
971-
* enabled?: bool, // Default: false
972-
* connection?: scalar|null, // Default: null
973-
* },
974-
* },
975-
* token_verifier?: scalar|null, // The service ID of a custom rememberme token verifier.
976-
* name?: scalar|null, // Default: "REMEMBERME"
977-
* lifetime?: int, // Default: 31536000
978-
* path?: scalar|null, // Default: "/"
979-
* domain?: scalar|null, // Default: null
980-
* secure?: true|false|"auto", // Default: false
981-
* httponly?: bool, // Default: true
982-
* samesite?: null|"lax"|"strict"|"none", // Default: null
983-
* always_remember_me?: bool, // Default: false
984-
* remember_me_parameter?: scalar|null, // Default: "_remember_me"
985-
* },
986761
* }>,
987762
* access_control?: list<array{ // Default: []
988763
* request_matcher?: scalar|null, // Default: null
@@ -1174,7 +949,7 @@
1174949
* repository_factory?: scalar|null, // Default: "doctrine.orm.container_repository_factory"
1175950
* schema_ignore_classes?: list<scalar|null>,
1176951
* report_fields_where_declared?: bool, // 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
1177-
* validate_xml_mapping?: bool, // 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
952+
* validate_xml_mapping?: bool, // Set to "true" to opt-in to the new mapping driver mode that was added in Doctrine ORM 2.14 and will be mandatory in ORM 3.0. See https://github.com/doctrine/orm/pull/6728. // Default: false
1178953
* second_level_cache?: array{
1179954
* region_cache_driver?: string|array{
1180955
* type?: scalar|null, // Default: null
@@ -1444,8 +1219,13 @@
14441219
* intercept_redirects?: bool, // Default: false
14451220
* excluded_ajax_paths?: scalar|null, // Default: "^/((index|app(_[\\w]+)?)\\.php/)?_wdt"
14461221
* }
1222+
* @psalm-type DamaDoctrineTestConfig = array{
1223+
* enable_static_connection?: mixed, // Default: true
1224+
* enable_static_meta_data_cache?: bool, // Default: true
1225+
* enable_static_query_cache?: bool, // Default: true
1226+
* connection_keys?: list<mixed>,
1227+
* }
14471228
* @psalm-type DoctrineMigrationsConfig = array{
1448-
* enable_service_migrations?: bool, // Whether to enable fetching migrations from the service container. // Default: false
14491229
* migrations_paths?: array<string, scalar|null>,
14501230
* services?: array<string, scalar|null>,
14511231
* factories?: array<string, scalar|null>,
@@ -1526,10 +1306,7 @@
15261306
* name_prefix?: scalar|null, // Default: ""
15271307
* }>,
15281308
* anonymous_template_directory?: scalar|null, // Defaults to `components`
1529-
* profiler?: bool|array{ // Enables the profiler for Twig Component
1530-
* enabled?: bool, // Default: "%kernel.debug%"
1531-
* collect_components?: bool, // Collect components instances // Default: true
1532-
* },
1309+
* profiler?: bool, // Enables the profiler for Twig Component (in debug mode) // Default: "%kernel.debug%"
15331310
* controllers_json?: scalar|null, // Deprecated: The "twig_component.controllers_json" config option is deprecated, and will be removed in 3.0. // Default: null
15341311
* }
15351312
* @psalm-type LiveComponentConfig = array{
@@ -1573,12 +1350,6 @@
15731350
* },
15741351
* ignore_not_found?: bool, // Ignore error when an icon is not found. Set to 'true' to fail silently. // Default: false
15751352
* }
1576-
* @psalm-type DamaDoctrineTestConfig = array{
1577-
* enable_static_connection?: mixed, // Default: true
1578-
* enable_static_meta_data_cache?: bool, // Default: true
1579-
* enable_static_query_cache?: bool, // Default: true
1580-
* connection_keys?: list<mixed>,
1581-
* }
15821353
* @psalm-type ConfigType = array{
15831354
* imports?: ImportsConfig,
15841355
* parameters?: ParametersConfig,
@@ -1659,7 +1430,7 @@
16591430
* }>
16601431
* }
16611432
*/
1662-
final class App
1433+
final class App extends AppReference
16631434
{
16641435
/**
16651436
* @param ConfigType $config
@@ -1668,7 +1439,7 @@ final class App
16681439
*/
16691440
public static function config(array $config): array
16701441
{
1671-
return AppReference::config($config);
1442+
return parent::config($config);
16721443
}
16731444
}
16741445

@@ -1736,7 +1507,7 @@ public static function config(array $config): array
17361507
* ...<string, RouteConfig|ImportConfig|AliasConfig>
17371508
* }
17381509
*/
1739-
final class Routes
1510+
final class Routes extends RoutesReference
17401511
{
17411512
/**
17421513
* @param RoutesConfig $config
@@ -1745,6 +1516,6 @@ final class Routes
17451516
*/
17461517
public static function config(array $config): array
17471518
{
1748-
return $config;
1519+
return parent::config($config);
17491520
}
17501521
}

0 commit comments

Comments
 (0)