Skip to content

Commit 1b84432

Browse files
committed
Updated API for commit 2aaf6b6e4c978053d9f8c4b99a977d3147821356
1 parent 572c163 commit 1b84432

7 files changed

Lines changed: 82 additions & 29 deletions

File tree

docs/classes/CodeIgniter-Autoloader-Autoloader.html

Lines changed: 71 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ <h2 class="phpdocumentor-content__title">
270270
<aside class="phpdocumentor-element-found-in">
271271
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
272272
:
273-
<span class="phpdocumentor-element-found-in__line">65</span>
273+
<span class="phpdocumentor-element-found-in__line">66</span>
274274

275275
</aside>
276276

@@ -380,6 +380,14 @@ <h4 id="toc-properties">
380380
&nbsp;: string </span>
381381
</dt>
382382

383+
<dt class="phpdocumentor-table-of-contents__entry -property -private">
384+
<a class="" href="classes/CodeIgniter-Autoloader-Autoloader.html#property_registeredClosures">$registeredClosures</a>
385+
<span>
386+
&nbsp;: array&lt;int, callable(string): void&gt; </span>
387+
</dt>
388+
<dd>Stores the closures registered with spl_autoload_register()
389+
so that unregister() can remove the exact same instances.</dd>
390+
383391
</dl>
384392

385393
<h4 id="toc-methods">
@@ -534,7 +542,7 @@ <h4 class="phpdocumentor-element__name" id="property_classmap">
534542
<aside class="phpdocumentor-element-found-in">
535543
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
536544
:
537-
<span class="phpdocumentor-element-found-in__line">79</span>
545+
<span class="phpdocumentor-element-found-in__line">80</span>
538546

539547
</aside>
540548

@@ -572,7 +580,7 @@ <h4 class="phpdocumentor-element__name" id="property_files">
572580
<aside class="phpdocumentor-element-found-in">
573581
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
574582
:
575-
<span class="phpdocumentor-element-found-in__line">86</span>
583+
<span class="phpdocumentor-element-found-in__line">87</span>
576584

577585
</aside>
578586

@@ -610,7 +618,7 @@ <h4 class="phpdocumentor-element__name" id="property_helpers">
610618
<aside class="phpdocumentor-element-found-in">
611619
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
612620
:
613-
<span class="phpdocumentor-element-found-in__line">94</span>
621+
<span class="phpdocumentor-element-found-in__line">95</span>
614622

615623
</aside>
616624

@@ -650,7 +658,7 @@ <h4 class="phpdocumentor-element__name" id="property_prefixes">
650658
<aside class="phpdocumentor-element-found-in">
651659
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
652660
:
653-
<span class="phpdocumentor-element-found-in__line">72</span>
661+
<span class="phpdocumentor-element-found-in__line">73</span>
654662

655663
</aside>
656664

@@ -688,7 +696,7 @@ <h4 class="phpdocumentor-element__name" id="property_composerPath">
688696
<aside class="phpdocumentor-element-found-in">
689697
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
690698
:
691-
<span class="phpdocumentor-element-found-in__line">96</span>
699+
<span class="phpdocumentor-element-found-in__line">105</span>
692700

693701
</aside>
694702

@@ -707,6 +715,45 @@ <h4 class="phpdocumentor-element__name" id="property_composerPath">
707715

708716

709717

718+
</article>
719+
<article
720+
class="
721+
phpdocumentor-element
722+
-property
723+
-private
724+
"
725+
>
726+
<h4 class="phpdocumentor-element__name" id="property_registeredClosures">
727+
$registeredClosures
728+
<a href="classes/CodeIgniter-Autoloader-Autoloader.html#property_registeredClosures" class="headerlink"><i class="fas fa-link"></i></a>
729+
730+
<span class="phpdocumentor-element__modifiers">
731+
</span>
732+
</h4>
733+
<aside class="phpdocumentor-element-found-in">
734+
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
735+
:
736+
<span class="phpdocumentor-element-found-in__line">103</span>
737+
738+
</aside>
739+
740+
<p class="phpdocumentor-summary">Stores the closures registered with spl_autoload_register()
741+
so that unregister() can remove the exact same instances.</p>
742+
743+
744+
<code class="phpdocumentor-code phpdocumentor-signature ">
745+
<span class="phpdocumentor-signature__visibility">private</span>
746+
<span class="phpdocumentor-signature__type">array&lt;int, callable(string): void&gt;</span>
747+
<span class="phpdocumentor-signature__name">$registeredClosures</span>
748+
= <span class="phpdocumentor-signature__default-value">[]</span></code>
749+
750+
751+
752+
753+
754+
755+
756+
710757
</article>
711758
</section>
712759

@@ -730,7 +777,7 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
730777
<aside class="phpdocumentor-element-found-in">
731778
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
732779
:
733-
<span class="phpdocumentor-element-found-in__line">96</span>
780+
<span class="phpdocumentor-element-found-in__line">105</span>
734781

735782
</aside>
736783

@@ -774,7 +821,7 @@ <h4 class="phpdocumentor-element__name" id="method_addNamespace">
774821
<aside class="phpdocumentor-element-found-in">
775822
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
776823
:
777-
<span class="phpdocumentor-element-found-in__line">197</span>
824+
<span class="phpdocumentor-element-found-in__line">218</span>
778825

779826
</aside>
780827

@@ -830,7 +877,7 @@ <h4 class="phpdocumentor-element__name" id="method_getNamespace">
830877
<aside class="phpdocumentor-element-found-in">
831878
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
832879
:
833-
<span class="phpdocumentor-element-found-in__line">227</span>
880+
<span class="phpdocumentor-element-found-in__line">248</span>
834881

835882
</aside>
836883

@@ -881,7 +928,7 @@ <h4 class="phpdocumentor-element__name" id="method_initialize">
881928
<aside class="phpdocumentor-element-found-in">
882929
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
883930
:
884-
<span class="phpdocumentor-element-found-in__line">106</span>
931+
<span class="phpdocumentor-element-found-in__line">115</span>
885932

886933
</aside>
887934

@@ -938,7 +985,7 @@ <h4 class="phpdocumentor-element__name" id="method_initializeKint">
938985
<aside class="phpdocumentor-element-found-in">
939986
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
940987
:
941-
<span class="phpdocumentor-element-found-in__line">498</span>
988+
<span class="phpdocumentor-element-found-in__line">519</span>
942989

943990
</aside>
944991

@@ -983,7 +1030,7 @@ <h4 class="phpdocumentor-element__name" id="method_loadHelpers">
9831030
<aside class="phpdocumentor-element-found-in">
9841031
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
9851032
:
986-
<span class="phpdocumentor-element-found-in__line">490</span>
1033+
<span class="phpdocumentor-element-found-in__line">511</span>
9871034

9881035
</aside>
9891036

@@ -1018,7 +1065,7 @@ <h4 class="phpdocumentor-element__name" id="method_register">
10181065
<aside class="phpdocumentor-element-found-in">
10191066
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
10201067
:
1021-
<span class="phpdocumentor-element-found-in__line">171</span>
1068+
<span class="phpdocumentor-element-found-in__line">180</span>
10221069

10231070
</aside>
10241071

@@ -1060,7 +1107,7 @@ <h4 class="phpdocumentor-element__name" id="method_removeNamespace">
10601107
<aside class="phpdocumentor-element-found-in">
10611108
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
10621109
:
1063-
<span class="phpdocumentor-element-found-in__line">241</span>
1110+
<span class="phpdocumentor-element-found-in__line">262</span>
10641111

10651112
</aside>
10661113

@@ -1109,7 +1156,7 @@ <h4 class="phpdocumentor-element__name" id="method_sanitizeFilename">
11091156
<aside class="phpdocumentor-element-found-in">
11101157
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
11111158
:
1112-
<span class="phpdocumentor-element-found-in__line">340</span>
1159+
<span class="phpdocumentor-element-found-in__line">361</span>
11131160

11141161
</aside>
11151162

@@ -1175,7 +1222,7 @@ <h4 class="phpdocumentor-element__name" id="method_unregister">
11751222
<aside class="phpdocumentor-element-found-in">
11761223
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
11771224
:
1178-
<span class="phpdocumentor-element-found-in__line">184</span>
1225+
<span class="phpdocumentor-element-found-in__line">202</span>
11791226

11801227
</aside>
11811228

@@ -1210,7 +1257,7 @@ <h4 class="phpdocumentor-element__name" id="method_discoverComposerNamespaces">
12101257
<aside class="phpdocumentor-element-found-in">
12111258
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
12121259
:
1213-
<span class="phpdocumentor-element-found-in__line">456</span>
1260+
<span class="phpdocumentor-element-found-in__line">477</span>
12141261

12151262
</aside>
12161263

@@ -1252,7 +1299,7 @@ <h4 class="phpdocumentor-element__name" id="method_includeFile">
12521299
<aside class="phpdocumentor-element-found-in">
12531300
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
12541301
:
1255-
<span class="phpdocumentor-element-found-in__line">316</span>
1302+
<span class="phpdocumentor-element-found-in__line">337</span>
12561303

12571304
</aside>
12581305

@@ -1305,7 +1352,7 @@ <h4 class="phpdocumentor-element__name" id="method_loadInNamespace">
13051352
<aside class="phpdocumentor-element-found-in">
13061353
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
13071354
:
1308-
<span class="phpdocumentor-element-found-in__line">285</span>
1355+
<span class="phpdocumentor-element-found-in__line">306</span>
13091356

13101357
</aside>
13111358

@@ -1360,7 +1407,7 @@ <h4 class="phpdocumentor-element__name" id="method_autoloadKint">
13601407
<aside class="phpdocumentor-element-found-in">
13611408
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
13621409
:
1363-
<span class="phpdocumentor-element-found-in__line">511</span>
1410+
<span class="phpdocumentor-element-found-in__line">532</span>
13641411

13651412
</aside>
13661413

@@ -1394,7 +1441,7 @@ <h4 class="phpdocumentor-element__name" id="method_configureKint">
13941441
<aside class="phpdocumentor-element-found-in">
13951442
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
13961443
:
1397-
<span class="phpdocumentor-element-found-in__line">533</span>
1444+
<span class="phpdocumentor-element-found-in__line">554</span>
13981445

13991446
</aside>
14001447

@@ -1428,7 +1475,7 @@ <h4 class="phpdocumentor-element__name" id="method_loadComposerAutoloader">
14281475
<aside class="phpdocumentor-element-found-in">
14291476
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
14301477
:
1431-
<span class="phpdocumentor-element-found-in__line">141</span>
1478+
<span class="phpdocumentor-element-found-in__line">150</span>
14321479

14331480
</aside>
14341481

@@ -1472,7 +1519,7 @@ <h4 class="phpdocumentor-element__name" id="method_loadComposerNamespaces">
14721519
<aside class="phpdocumentor-element-found-in">
14731520
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
14741521
:
1475-
<span class="phpdocumentor-element-found-in__line">375</span>
1522+
<span class="phpdocumentor-element-found-in__line">396</span>
14761523

14771524
</aside>
14781525

@@ -1629,6 +1676,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
16291676
<li class=""><a href="classes/CodeIgniter-Autoloader-Autoloader.html#property_helpers">$helpers</a></li>
16301677
<li class=""><a href="classes/CodeIgniter-Autoloader-Autoloader.html#property_prefixes">$prefixes</a></li>
16311678
<li class=""><a href="classes/CodeIgniter-Autoloader-Autoloader.html#property_composerPath">$composerPath</a></li>
1679+
<li class=""><a href="classes/CodeIgniter-Autoloader-Autoloader.html#property_registeredClosures">$registeredClosures</a></li>
16321680
</ul>
16331681
</li>
16341682

docs/files/system-autoloader-autoloader.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ <h4 class="phpdocumentor-element__name" id="constant_VENDORPATH">
315315
<aside class="phpdocumentor-element-found-in">
316316
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
317317
:
318-
<span class="phpdocumentor-element-found-in__line">146</span>
318+
<span class="phpdocumentor-element-found-in__line">155</span>
319319

320320
</aside>
321321

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2159,7 +2159,7 @@ <h4 class="phpdocumentor-element__name" id="constant_VENDORPATH">
21592159
<aside class="phpdocumentor-element-found-in">
21602160
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
21612161
:
2162-
<span class="phpdocumentor-element-found-in__line">146</span>
2162+
<span class="phpdocumentor-element-found-in__line">155</span>
21632163

21642164
</aside>
21652165

docs/js/searchIndex.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,11 @@ Search.appendIndex(
340340
"name": "helpers",
341341
"summary": "Stores\u0020helper\u0020list.",
342342
"url": "classes/CodeIgniter-Autoloader-Autoloader.html#property_helpers"
343+
}, {
344+
"fqsen": "\\CodeIgniter\\Autoloader\\Autoloader\u003A\u003A\u0024registeredClosures",
345+
"name": "registeredClosures",
346+
"summary": "Stores\u0020the\u0020closures\u0020registered\u0020with\u0020spl_autoload_register\u0028\u0029\nso\u0020that\u0020unregister\u0028\u0029\u0020can\u0020remove\u0020the\u0020exact\u0020same\u0020instances.",
347+
"url": "classes/CodeIgniter-Autoloader-Autoloader.html#property_registeredClosures"
343348
}, {
344349
"fqsen": "\\CodeIgniter\\Autoloader\\Autoloader\u003A\u003A\u0024composerPath",
345350
"name": "composerPath",

docs/namespaces/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@ <h4 class="phpdocumentor-element__name" id="constant_VENDORPATH">
21542154
<aside class="phpdocumentor-element-found-in">
21552155
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
21562156
:
2157-
<span class="phpdocumentor-element-found-in__line">146</span>
2157+
<span class="phpdocumentor-element-found-in__line">155</span>
21582158

21592159
</aside>
21602160

docs/packages/Application.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,7 @@ <h4 class="phpdocumentor-element__name" id="constant_VENDORPATH">
22302230
<aside class="phpdocumentor-element-found-in">
22312231
<abbr class="phpdocumentor-element-found-in__file" title="system/Autoloader/Autoloader.php"><a href="files/system-autoloader-autoloader.html"><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></a></abbr>
22322232
:
2233-
<span class="phpdocumentor-element-found-in__line">146</span>
2233+
<span class="phpdocumentor-element-found-in__line">155</span>
22342234

22352235
</aside>
22362236

docs/reports/deprecated.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,13 @@ <h3><abbr title="system/Autoloader/Autoloader.php">Autoloader.php</abbr></h3>
395395
<th class="phpdocumentor-heading">Reason</th>
396396
</tr>
397397
<tr>
398-
<td class="phpdocumentor-cell">340</td>
398+
<td class="phpdocumentor-cell">361</td>
399399
<td class="phpdocumentor-cell"><a href="classes/CodeIgniter-Autoloader-Autoloader.html#method_sanitizeFilename"><abbr title="\CodeIgniter\Autoloader\Autoloader::sanitizeFilename()">Autoloader::sanitizeFilename()</abbr></a></td>
400400
<td class="phpdocumentor-cell"><p>No longer used. See https://github.com/codeigniter4/CodeIgniter4/issues/7055</p>
401401
</td>
402402
</tr>
403403
<tr>
404-
<td class="phpdocumentor-cell">456</td>
404+
<td class="phpdocumentor-cell">477</td>
405405
<td class="phpdocumentor-cell"><a href="classes/CodeIgniter-Autoloader-Autoloader.html#method_discoverComposerNamespaces"><abbr title="\CodeIgniter\Autoloader\Autoloader::discoverComposerNamespaces()">Autoloader::discoverComposerNamespaces()</abbr></a></td>
406406
<td class="phpdocumentor-cell"><p>No longer used.</p>
407407
</td>

0 commit comments

Comments
 (0)