Completed
Push — master ( a9bda0...6d80b1 )
by Ruben
12:06
created

Processor   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A process() 0 4 1
1
<?php
2
3
namespace Habu\ComposerScriptExample;
4
5
use Habu\ComposerScriptUtils\Interfaces\ConfigurationInterface;
6
use Habu\ComposerScriptUtils\Processor\AbstractProcessor;
7
8
class Processor extends AbstractProcessor
9
{
10
    public function process(ConfigurationInterface $configuration)
11
    {
12
        $this->getIO()->write(sprintf('Hello %s!', $configuration->get('habu-script-example.name')));
13
    }
14
}
15