NullMessage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A format() 0 3 1
1
<?php
2
namespace Elgg\I18n;
3
4
/**
5
 * WARNING: API IN FLUX. DO NOT USE DIRECTLY.
6
 * 
7
 * A message that always ignores all parameters and just returns the template.
8
 * 
9
 * @since 1.11
10
 * 
11
 * @access private
12
 */
13
final class NullMessage extends Message {
14
	/** @inheritDoc */
15
	public function format(array $args) {
16
		return "$this";
17
	}
18
}