File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,9 +176,7 @@ $salesReport = memoize()->memo(
176176<tr ><td width =" 30% " ><strong >Method</strong ></td ><td ><strong >Description</strong ></td ></tr >
177177<tr ><td >
178178
179- ``` php
180- memo(?string $key, callable $callback)
181- ```
179+ ** memo(?string $key, callable $callback)**
182180
183181</td ><td >
184182
@@ -187,9 +185,7 @@ memo(?string $key, callable $callback)
187185</td ></tr >
188186<tr ><td >
189187
190- ``` php
191- once(callable $callback)
192- ```
188+ ** once(callable $callback)**
193189
194190</td ><td >
195191
@@ -198,9 +194,7 @@ once(callable $callback)
198194</td ></tr >
199195<tr ><td >
200196
201- ``` php
202- for(string $class)
203- ```
197+ ** for(string $class)**
204198
205199</td ><td >
206200
@@ -215,37 +209,27 @@ for(string $class)
215209<tr ><td width =" 30% " ><strong >Method</strong ></td ><td ><strong >Description</strong ></td ></tr >
216210<tr ><td >
217211
218- ``` php
219- has(string $key): bool
220- ```
212+ ** has(string $key): bool**
221213
222214</td ><td >Check if a key exists in cache</td ></tr >
223215<tr ><td >
224216
225- ``` php
226- forget(string $key): bool
227- ```
217+ ** forget(string $key): bool**
228218
229219</td ><td >Remove specific key from cache</td ></tr >
230220<tr ><td >
231221
232- ``` php
233- flush(): void
234- ```
222+ ** flush(): void**
235223
236224</td ><td >Clear all cached values</td ></tr >
237225<tr ><td >
238226
239- ``` php
240- setMaxSize(?int $maxSize): void
241- ```
227+ ** setMaxSize(?int $maxSize): void**
242228
243229</td ><td >Set maximum entries (LRU eviction)</td ></tr >
244230<tr ><td >
245231
246- ``` php
247- getStats(): array
248- ```
232+ ** getStats(): array**
249233
250234</td ><td >Get detailed cache statistics</td ></tr >
251235</table >
You can’t perform that action at this time.
0 commit comments