@@ -441,7 +441,10 @@ <h4 id="toc-methods">
441441 < span >
442442 : string </ span >
443443</ dt >
444- < dd > Get the regex of the current encryption key.</ dd >
444+ < dd > Returns the regex used to locate an active `encryption.key = ...` setting in the `.env`
445+ contents. The single capture group spans everything up to (and including) the `=` and any
446+ separating whitespace, so a `preg_replace` substitution preserves an optional `export`
447+ prefix while rewriting only the value.</ dd >
445448
446449 < dt class ="phpdocumentor-table-of-contents__entry -method -protected ">
447450 < a class ="" href ="classes/CodeIgniter-Commands-Encryption-GenerateKey.html#method_setNewEncryptionKey "> setNewEncryptionKey()</ a >
@@ -1358,11 +1361,14 @@ <h4 class="phpdocumentor-element__name" id="method_keyPattern">
13581361 < aside class ="phpdocumentor-element-found-in ">
13591362 < abbr class ="phpdocumentor-element-found-in__file " title ="system/Commands/Encryption/GenerateKey.php "> < a href ="files/system-commands-encryption-generatekey.html "> < abbr title ="system/Commands/Encryption/GenerateKey.php "> GenerateKey.php</ abbr > </ a > </ abbr >
13601363 :
1361- < span class ="phpdocumentor-element-found-in__line "> 196 </ span >
1364+ < span class ="phpdocumentor-element-found-in__line "> 207 </ span >
13621365
13631366 </ aside >
13641367
1365- < p class ="phpdocumentor-summary "> Get the regex of the current encryption key.</ p >
1368+ < p class ="phpdocumentor-summary "> Returns the regex used to locate an active `encryption.key = ...` setting in the `.env`
1369+ contents. The single capture group spans everything up to (and including) the `=` and any
1370+ separating whitespace, so a `preg_replace` substitution preserves an optional `export`
1371+ prefix while rewriting only the value.</ p >
13661372
13671373 < code class ="phpdocumentor-code phpdocumentor-signature ">
13681374 < span class ="phpdocumentor-signature__visibility "> protected</ span >
@@ -1371,7 +1377,10 @@ <h4 class="phpdocumentor-element__name" id="method_keyPattern">
13711377 < div class ="phpdocumentor-label-line ">
13721378 </ div >
13731379
1374-
1380+ < section class ="phpdocumentor-description "> < p > The < code class ="prettyprint "> $oldKey</ code > parameter is retained for backward compatibility with subclasses that
1381+ override this method; it is no longer consulted because the pattern matches any value.</ p >
1382+ </ section >
1383+
13751384 < h5 class ="phpdocumentor-argument-list__heading "> Parameters</ h5 >
13761385 < dl class ="phpdocumentor-argument-list ">
13771386 < dt class ="phpdocumentor-argument-list__entry ">
0 commit comments