Completed
Push — output_parsers_refactor ( 755930...b5c5df )
by Alessandro
07:17
created

NullOutputContainer   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 6
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 31
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A addToOutputBuffer() 0 3 1
A getFileNames() 0 4 1
A getOutputBuffer() 0 4 1
A countFiles() 0 4 1
A getTag() 0 4 1
A getTitle() 0 4 1
1
<?php
2
3
namespace Paraunit\Printer;
4
5
use Paraunit\Process\ProcessResultInterface;
6
7
/**
8
 * Class NullOutputContainer
9
 * @package Paraunit\Printer
10
 */
11
class NullOutputContainer implements OutputContainerInterface
12
{
13
    public function addToOutputBuffer(ProcessResultInterface $process, $message)
14
    {
15
    }
16
17
    public function getFileNames()
18
    {
19
        return array();
20
    }
21
22
    public function getOutputBuffer()
23
    {
24
        return array();
25
    }
26
27
    public function countFiles()
28
    {
29
        return 0;
30
    }
31
32
    public function getTag()
33
    {
34
        return 'null';
35
    }
36
37
    public function getTitle()
38
    {
39
        return '---';
40
    }
41
}
42