Passed
Push — master ( afd02d...b0430a )
by Allan
03:37 queued 10s
created

OperationFailure   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setOutput() 0 3 1
A getOutput() 0 3 1
1
<?php
2
/**
3
 * Copyright © Vaimo Group. All rights reserved.
4
 * See LICENSE_VAIMO.txt for license details.
5
 */
6
namespace Vaimo\ComposerPatches\Exceptions;
7
8
class OperationFailure extends \Exception
9
{
10
    private $output;
11
    
12
    public function setOutput($output)
13
    {
14
        $this->output = $output;
15
    }
16
    
17
    public function getOutput()
18
    {
19
        return $this->output;
20
    }
21
}
22