Passed
Push — master ( 139939...b4b8e8 )
by Arthur
21:54 queued 17s
created

ProxyCreatedEvent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: arthur
5
 * Date: 14.10.18
6
 * Time: 19:31.
7
 */
8
9
namespace Modules\Proxy\Events;
10
11
use Foundation\Abstracts\Events\Event;
12
use Modules\Proxy\Entities\Proxy;
13
use Modules\Proxy\Listeners\ProxyCreatedListener;
14
15
class ProxyCreatedEvent extends Event
16
{
17
    public $listeners = [
18
        ProxyCreatedListener::class,
19
    ];
20
21
    /**
22
     * @var Proxy
23
     */
24
    public $proxy;
25
26
    /**
27
     * UserRegisteredEvent constructor.
28
     *
29
     * @param $user
30
     */
31
    public function __construct(Proxy $proxy)
32
    {
33
        $this->proxy = $proxy;
34
    }
35
}
36