WP Profiler
Public Member Functions | Public Attributes | List of all members
WPProfiler\Core\Collectors\Function_ Class Reference
Inheritance diagram for WPProfiler\Core\Collectors\Function_:
WPProfiler\Core\CollectorAbstract WPProfiler\Core\CollectorInterface

Public Member Functions

 init ()
 
 get ($data=null)
 
 enable ()
 
 init_store ($data)
 
 build_report_filename ($parts)
 
 stop_timer ($function)
 
 maybe_inject_hook ()
 
 ignore_function ($function)
 
 remove_ignored_function ($function)
 
 is_function_ignored ($function)
 
 get_self ()
 
 set_ignoring_enabled ($ignoring_enabled)
 
- Public Member Functions inherited from WPProfiler\Core\CollectorAbstract
 __construct (Profiler $profiler)
 
 build_report_filename ($parts)
 
 init ()
 
 enable ()
 
 disable ()
 

Public Attributes

const NAME = 'function'
 
const BUILD_FILENAME_PRIORITY = 0
 
- Public Attributes inherited from WPProfiler\Core\CollectorAbstract
const NAME = ''
 
const BUILD_FILENAME_PRIORITY = 0
 

Additional Inherited Members

- Protected Attributes inherited from WPProfiler\Core\CollectorAbstract
 $profiler
 
 $enabled = false
 

Member Function Documentation

WPProfiler\Core\Collectors\Function_::build_report_filename (   $parts)
Parameters
$parts
Returns
array
WPProfiler\Core\Collectors\Function_::enable ( )
Returns
void

Implements WPProfiler\Core\CollectorInterface.

WPProfiler\Core\Collectors\Function_::get (   $data = null)
WPProfiler\Core\Collectors\Function_::get_self ( )
WPProfiler\Core\Collectors\Function_::ignore_function (   $function)
Parameters
callable$function
WPProfiler\Core\Collectors\Function_::init ( )
Returns
void

Implements WPProfiler\Core\CollectorInterface.

WPProfiler\Core\Collectors\Function_::init_store (   $data)
Parameters
$data
Returns
array
WPProfiler\Core\Collectors\Function_::is_function_ignored (   $function)
Parameters
callable$function
Returns
bool
WPProfiler\Core\Collectors\Function_::maybe_inject_hook ( )
Parameters
$action
WPProfiler\Core\Collectors\Function_::remove_ignored_function (   $function)
Parameters
callable$function
Returns
bool
WPProfiler\Core\Collectors\Function_::set_ignoring_enabled (   $ignoring_enabled)
Parameters
bool$ignoring_enabled
WPProfiler\Core\Collectors\Function_::stop_timer (   $function)

Member Data Documentation

const WPProfiler\Core\Collectors\Function_::BUILD_FILENAME_PRIORITY = 0
const WPProfiler\Core\Collectors\Function_::NAME = 'function'

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