Skip to content

Commit 7d0f640

Browse files
committed
Update the Uid version config
1 parent 5c44d69 commit 7d0f640

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
@@ -90,10 +90,10 @@ configure the behavior of the factory using configuration files::
9090
# config/packages/uid.yaml
9191
framework:
9292
uid:
93-
default_uuid_version: 6
93+
default_uuid_version: 7
9494
name_based_uuid_version: 5
9595
name_based_uuid_namespace: 6ba7b810-9dad-11d1-80b4-00c04fd430c8
96-
time_based_uuid_version: 6
96+
time_based_uuid_version: 7
9797
time_based_uuid_node: 121212121212
9898
9999
.. code-block:: xml
@@ -109,10 +109,10 @@ configure the behavior of the factory using configuration files::
109109
110110
<framework:config>
111111
<framework:uid
112-
default_uuid_version="6"
112+
default_uuid_version="7"
113113
name_based_uuid_version="5"
114114
name_based_uuid_namespace="6ba7b810-9dad-11d1-80b4-00c04fd430c8"
115-
time_based_uuid_version="6"
115+
time_based_uuid_version="7"
116116
time_based_uuid_node="121212121212"
117117
/>
118118
</framework:config>
@@ -131,10 +131,10 @@ configure the behavior of the factory using configuration files::
131131
132132
$container->extension('framework', [
133133
'uid' => [
134-
'default_uuid_version' => 6,
134+
'default_uuid_version' => 7,
135135
'name_based_uuid_version' => 5,
136136
'name_based_uuid_namespace' => '6ba7b810-9dad-11d1-80b4-00c04fd430c8',
137-
'time_based_uuid_version' => 6,
137+
'time_based_uuid_version' => 7,
138138
'time_based_uuid_node' => 121212121212,
139139
],
140140
]);
@@ -156,7 +156,7 @@ on the configuration you defined::
156156

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

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

0 commit comments

Comments
 (0)