Skip to content

Commit b223273

Browse files
committed
Updated API for commit 3535c7af0e9f0ccb20572851883933f031735e1b
1 parent 8caa343 commit b223273

2 files changed

Lines changed: 30 additions & 6 deletions

File tree

docs/classes/CodeIgniter-Events-Events.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -797,23 +797,35 @@ <h4 class="phpdocumentor-element__name" id="method_cleanupForWorkerMode">
797797
<aside class="phpdocumentor-element-found-in">
798798
<abbr class="phpdocumentor-element-found-in__file" title="system/Events/Events.php"><a href="files/system-events-events.html"><abbr title="system/Events/Events.php">Events.php</abbr></a></abbr>
799799
:
800-
<span class="phpdocumentor-element-found-in__line">293</span>
800+
<span class="phpdocumentor-element-found-in__line">295</span>
801801

802802
</aside>
803803

804804
<p class="phpdocumentor-summary">Cleanup performance log and request-specific listeners for worker mode.</p>
805805

806806
<code class="phpdocumentor-code phpdocumentor-signature ">
807807
<span class="phpdocumentor-signature__visibility">public</span>
808-
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">cleanupForWorkerMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
808+
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">cleanupForWorkerMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__type">array&lt;int, string&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$resetEventListeners</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
809809

810810
<div class="phpdocumentor-label-line">
811811
</div>
812812

813813
<section class="phpdocumentor-description"><p>Called at the END of each request to clean up state.</p>
814814
</section>
815815

816-
816+
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
817+
<dl class="phpdocumentor-argument-list">
818+
<dt class="phpdocumentor-argument-list__entry">
819+
<span class="phpdocumentor-argument-list__argument__name">$resetEventListeners</span>
820+
: <span class="phpdocumentor-argument-list__argument__type">array&lt;int, string&gt;</span>
821+
= <span class="phpdocumentor-argument-list__argument__default-value">[]</span> </dt>
822+
<dd class="phpdocumentor-argument-list__definition">
823+
<section class="phpdocumentor-description"><p>Additional event names to reset.</p>
824+
</section>
825+
826+
</dd>
827+
</dl>
828+
817829

818830

819831

docs/classes/CodeIgniter-Test-Mock-MockEvents.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,23 +810,35 @@ <h4 class="phpdocumentor-element__name" id="method_cleanupForWorkerMode">
810810
<aside class="phpdocumentor-element-found-in">
811811
<abbr class="phpdocumentor-element-found-in__file" title="system/Events/Events.php"><a href="files/system-events-events.html"><abbr title="system/Events/Events.php">Events.php</abbr></a></abbr>
812812
:
813-
<span class="phpdocumentor-element-found-in__line">293</span>
813+
<span class="phpdocumentor-element-found-in__line">295</span>
814814

815815
</aside>
816816

817817
<p class="phpdocumentor-summary">Cleanup performance log and request-specific listeners for worker mode.</p>
818818

819819
<code class="phpdocumentor-code phpdocumentor-signature ">
820820
<span class="phpdocumentor-signature__visibility">public</span>
821-
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">cleanupForWorkerMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
821+
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">cleanupForWorkerMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__type">array&lt;int, string&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$resetEventListeners</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
822822

823823
<div class="phpdocumentor-label-line">
824824
</div>
825825

826826
<section class="phpdocumentor-description"><p>Called at the END of each request to clean up state.</p>
827827
</section>
828828

829-
829+
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
830+
<dl class="phpdocumentor-argument-list">
831+
<dt class="phpdocumentor-argument-list__entry">
832+
<span class="phpdocumentor-argument-list__argument__name">$resetEventListeners</span>
833+
: <span class="phpdocumentor-argument-list__argument__type">array&lt;int, string&gt;</span>
834+
= <span class="phpdocumentor-argument-list__argument__default-value">[]</span> </dt>
835+
<dd class="phpdocumentor-argument-list__definition">
836+
<section class="phpdocumentor-description"><p>Additional event names to reset.</p>
837+
</section>
838+
839+
</dd>
840+
</dl>
841+
830842

831843

832844

0 commit comments

Comments
 (0)