Completed
Push — master ( e56a6a...69ed36 )
by BruceScrutinizer
02:04
created

ConsoleDevice   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A output() 0 3 1
1
<?php
2
namespace NamespaceProtector\OutputDevice;
3
4
final class ConsoleDevice implements OutputDeviceInterface
5
{
6
    public function output(string $value): void
7
    {
8
        echo $value;
9
    }
10
}
11