NewRelicNotifier   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A notifyOfDeployment() 0 4 1
1
<?php
2
3
namespace ParityBit\DeploymentNotifier\Notifiers;
4
5
use ParityBit\DeploymentNotifier\Clients\NewRelicClient;
6
use ParityBit\DeploymentNotifier\Deployment;
7
8
class NewRelicNotifier implements Notifier
9
{
10
    protected $client;
11
12
    public function __construct(NewRelicClient $client)
13
    {
14
        $this->client = $client;
15
    }
16
17
    public function notifyOfDeployment(Deployment $deployment)
18
    {
19
20
    }
21
}
22