MediaWiki REL1_40
Wikimedia\Stats\Metrics\NullMetric Class Reference

Null Metric Implementation. More...

Public Member Functions

 __call (string $method_name, array $args)
 Silently suppress all undefined method calls.
 

Detailed Description

Null Metric Implementation.

When a request from cache yields a type other than what was requested or an unrecoverable situation has occurred, an instance of this class should be passed to the caller to provide an interface that suppresses method calls against it.

Author
Cole White
Since
1.38

Definition at line 35 of file NullMetric.php.

Member Function Documentation

◆ __call()

Wikimedia\Stats\Metrics\NullMetric::__call ( string $method_name,
array $args )

Silently suppress all undefined method calls.

Parameters
$method_namestring
$argsarray
Returns
NullMetric

Definition at line 44 of file NullMetric.php.


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