MediaWiki  master
NullMetric.php
Go to the documentation of this file.
1 <?php
29 declare( strict_types=1 );
30 
31 namespace Wikimedia\Metrics;
32 
33 class NullMetric {
34 
42  public function __call( string $method_name, array $args ) {
43  return null;
44  }
45 
46 }
__call(string $method_name, array $args)
Silently suppress all undefined method calls.
Definition: NullMetric.php:42
if( $line===false) $args
Definition: mcc.php:124