|
MediaWiki master
|
Subclass ScopedCallback to avoid call_user_func_array(), which is slow. More...
Inherits ScopedCallback.

Public Member Functions | |
| __construct (SectionProfiler $profiler, string $section) | |
| __destruct () | |
Protected Attributes | |
| SectionProfiler | $profiler |
| string | $section |
Subclass ScopedCallback to avoid call_user_func_array(), which is slow.
Definition at line 17 of file SectionProfileCallback.php.
| MediaWiki\Profiler\SectionProfileCallback::__construct | ( | SectionProfiler | $profiler, |
| string | $section ) |
Definition at line 22 of file SectionProfileCallback.php.
References MediaWiki\Profiler\SectionProfileCallback\$profiler, and MediaWiki\Profiler\SectionProfileCallback\$section.
| MediaWiki\Profiler\SectionProfileCallback::__destruct | ( | ) |
Definition at line 28 of file SectionProfileCallback.php.
|
protected |
Definition at line 19 of file SectionProfileCallback.php.
Referenced by MediaWiki\Profiler\SectionProfileCallback\__construct().
|
protected |
Definition at line 20 of file SectionProfileCallback.php.
Referenced by MediaWiki\Profiler\SectionProfileCallback\__construct().