MediaWiki REL1_39
SectionProfileCallback Class Reference

Subclass ScopedCallback to avoid call_user_func_array(), which is slow. More...

Inheritance diagram for SectionProfileCallback:
Collaboration diagram for SectionProfileCallback:

Public Member Functions

 __construct (SectionProfiler $profiler, $section)
 
 __destruct ()
 

Protected Attributes

SectionProfiler $profiler
 
string $section
 

Detailed Description

Subclass ScopedCallback to avoid call_user_func_array(), which is slow.

Access: internal
For use by SectionProfiler

Definition at line 28 of file SectionProfileCallback.php.

Constructor & Destructor Documentation

◆ __construct()

SectionProfileCallback::__construct ( SectionProfiler $profiler,
$section )
Parameters
SectionProfiler$profiler
string$section

Definition at line 38 of file SectionProfileCallback.php.

References $profiler, and $section.

◆ __destruct()

SectionProfileCallback::__destruct ( )

Definition at line 44 of file SectionProfileCallback.php.

Member Data Documentation

◆ $profiler

SectionProfiler SectionProfileCallback::$profiler
protected

Definition at line 30 of file SectionProfileCallback.php.

Referenced by __construct().

◆ $section

string SectionProfileCallback::$section
protected

Definition at line 32 of file SectionProfileCallback.php.

Referenced by __construct().


The documentation for this class was generated from the following file: