OperationFailure   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setOutput() 0 5 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
    /**
11
     * @var array
12
     */
13
    private $output;
14
15
    public function setOutput($output)
16
    {
17
        $this->output = $output;
18
19
        return $this;
20
    }
21
22
    public function getOutput()
23
    {
24
        return $this->output;
25
    }
26
}
27