NullLogger   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 25
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A error() 0 3 1
A notice() 0 3 1
A info() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SixtyEightPublishers\User\Common\Logger;
6
7
use Nette\SmartObject;
8
9
final class NullLogger implements LoggerInterface
10
{
11
	use SmartObject;
12
13
	/**
14
	 * {@inheritdoc}
15
	 */
16
	public function error(string $message): void
17
	{
18
	}
19
20
	/**
21
	 * {@inheritdoc}
22
	 */
23
	public function notice(string $message): void
24
	{
25
	}
26
27
	/**
28
	 * {@inheritdoc}
29
	 */
30
	public function info(string $message): void
31
	{
32
	}
33
}
34