MediaWiki  master
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.

Definition at line 29 of file SectionProfileCallback.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 39 of file SectionProfileCallback.php.

References $profiler, and $section.

◆ __destruct()

SectionProfileCallback::__destruct ( )

Definition at line 45 of file SectionProfileCallback.php.

Member Data Documentation

◆ $profiler

SectionProfiler SectionProfileCallback::$profiler
protected

Definition at line 31 of file SectionProfileCallback.php.

Referenced by __construct().

◆ $section

string SectionProfileCallback::$section
protected

Definition at line 33 of file SectionProfileCallback.php.

Referenced by __construct().


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