GlobeLabsSmsSent   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getResponse() 0 4 1
1
<?php
2
3
namespace Coreproc\GlobeLabsSms\Events;
4
5
use Illuminate\Foundation\Events\Dispatchable;
6
use Psr\Http\Message\ResponseInterface;
7
8
class GlobeLabsSmsSent
9
{
10
    use Dispatchable;
11
12
    protected $response;
13
14
    /**
15
     * Create a new event instance.
16
     *
17
     * @param ResponseInterface $response
18
     */
19
    public function __construct(ResponseInterface $response)
20
    {
21
        $this->response = $response;
22
    }
23
24
    public function getResponse()
25
    {
26
        return $this->response;
27
    }
28
}
29