10000 Merge branch '6.3' into 6.4 · symfony/symfony-docs@4019756 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4019756

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [Uid] v7 is the new default version
2 parents ce42e78 + fcc25ef commit 4019756

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

components/uid.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ configure the behavior of the factory using configuration files::
9494
# config/packages/uid.yaml
9595
framework:
9696
uid:
97-
default_uuid_version: 6
97+
default_uuid_version: 7
9898
name_based_uuid_version: 5
9999
name_based_uuid_namespace: 6ba7b810-9dad-11d1-80b4-00c04fd430c8
100-
time_based_uuid_version: 6
100+
time_based_uuid_version: 7
101101
time_based_uuid_node: 121212121212
102102
103103
.. code-block:: xml
@@ -113,10 +113,10 @@ configure the behavior of the factory using configuration files::
113113
114114
<framework:config>
115115
<framework:uid
116-
default_uuid_version="6"
116+
default_uuid_version="7"
117117
name_based_uuid_version="5"
118118
name_based_uuid_namespace="6ba7b810-9dad-11d1-80b4-00c04fd430c8"
119-
time_based_uuid_version="6"
119+
time_based_uuid_version="7"
120120
time_based_uuid_node="121212121212"
121121
/>
122122
</framework:config>
@@ -135,10 +135,10 @@ configure the behavior of the factory using configuration files::
135135
136136
$container->extension('framework', [
137137
'uid' => [
138-
'default_uuid_version' => 6,
138+
'default_uuid_version' => 7,
139139
'name_based_uuid_version' => 5,
140140
'name_based_uuid_namespace' => '6ba7b810-9dad-11d1-80b4-00c04fd430c8',
141-
'time_based_uuid_version' => 6,
141+
'time_based_uuid_version' => 7,
142142
'time_based_uuid_node' => 121212121212,
143143
],
144144
]);
@@ -160,7 +160,7 @@ on the configuration you defined::
160160

161161
public function generate(): void
162162
{
163-
// This creates a UUID of the version given in the configuration file (v6 by default)
163+
// This creates a UUID of the version given in the configuration file (v7 by default)
164164
$uuid = $this->uuidFactory->create();
165165

166166
$nameBasedUuid = $this->uuidFactory->nameBased(/** ... */);

0 commit comments

Comments
 (0)
0