BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SectionProfileCallback Class Reference
Inheritance diagram for SectionProfileCallback:
Collaboration diagram for SectionProfileCallback:

Public Member Functions

 __construct (SectionProfiler $profiler, $section)
 
- Public Member Functions inherited from ScopedCallback
 __construct ($callback, array $params=[])
 
 __destruct ()
 

Protected Attributes

 $profiler
 
 $section
 
- Protected Attributes inherited from ScopedCallback
 $callback
 
 $params
 

Additional Inherited Members

- Static Public Member Functions inherited from ScopedCallback
static consume (ScopedCallback &$sc=null)
 
static cancel (ScopedCallback &$sc=null)
 

Detailed Description

Subclass ScopedCallback to avoid call_user_func_array(), which is slow

This class should not be used outside of SectionProfiler

Constructor & Destructor Documentation

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

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