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.

This class should not be used outside of SectionProfiler

Definition at line 505 of file SectionProfiler.php.

Constructor & Destructor Documentation

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

Definition at line 515 of file SectionProfiler.php.

References $profiler, and $section.

SectionProfileCallback::__destruct ( )

Definition at line 521 of file SectionProfiler.php.

Member Data Documentation

SectionProfiler SectionProfileCallback::$profiler
protected

Definition at line 507 of file SectionProfiler.php.

Referenced by __construct().

string SectionProfileCallback::$section
protected

Definition at line 509 of file SectionProfiler.php.

Referenced by __construct().


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