PayStarting   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Yansongda\Pay\Events;
4
5
class PayStarting extends Event
6
{
7
    /**
8
     * Params.
9
     *
10
     * @var array
11
     */
12
    public $params;
13
14
    /**
15
     * Bootstrap.
16
     *
17
     * @param string $driver
18
     * @param string $gateway
19
     * @param array  $params
20
     */
21
    public function __construct(string $driver, string $gateway, array $params)
22
    {
23
        $this->params = $params;
24
25
        parent::__construct($driver, $gateway);
26
    }
27
}
28