Passed
Push — master ( b0e1d7...34bc8c )
by
unknown
02:32
created

MangoPayWebhookEvent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getOutput() 0 4 1
A setOutput() 0 4 1
1
<?php
2
3
/**
4
 * Created by Graham Owens ([email protected])
5
 * Company: PartFire Ltd (www.partfire.co.uk)
6
 * Console: Discovery
7
 *
8
 * User:    gra
9
 * Date:    21/01/17
10
 * Time:    00:37
11
 * Project: fruitful-property-investments
12
 * File:    MangoPayWebhookEvent.php
13
 *
14
 **/
15
namespace PartFire\MangoPayBundle\Event;
16
17
use PartFire\CommonBundle\Services\Output\CommonOutputInterface;
18
use Symfony\Component\EventDispatcher\Event;
19
20
class MangoPayWebhookEvent extends Event
21
{
22
    const NAME = 'partfire.mangopay.new_webhook';
23
24
    private $output;
25
26
    /**
27
     * @return mixed
28
     */
29
    public function getOutput() : CommonOutputInterface
30
    {
31
        return $this->output;
32
    }
33
34
    /**
35
     * @param mixed $output
36
     */
37
    public function setOutput(CommonOutputInterface $output)
38
    {
39
        $this->output = $output;
40
    }
41
42
}