Completed
Push — master ( bbfb28...e849e1 )
by Hannes
01:48
created

VeryVerbosePresenter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A success() 0 4 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace hanneskod\readmetester\Console;
6
7
/**
8
 * Presenter for very verbose output
9
 */
10
class VeryVerbosePresenter extends VerbosePresenter
11
{
12
    protected function success(string $exampleName, string $message)
13
    {
14
        $this->output->writeln("Example <info>$exampleName</info>: $message");
15
    }
16
}
17