MediaWiki  1.28.1
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 506 of file SectionProfiler.php.

Constructor & Destructor Documentation

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

Definition at line 516 of file SectionProfiler.php.

References $profiler, and $section.

SectionProfileCallback::__destruct ( )

Definition at line 522 of file SectionProfiler.php.

Member Data Documentation

SectionProfiler SectionProfileCallback::$profiler
protected

Definition at line 508 of file SectionProfiler.php.

Referenced by __construct().

string SectionProfileCallback::$section
protected

Definition at line 510 of file SectionProfiler.php.

Referenced by __construct().


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