EchoNotification   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A send() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Jenner
5
 * Date: 2015/10/14
6
 * Time: 10:10
7
 */
8
9
namespace Jenner\LogMonitor\Notification;
10
11
12
class EchoNotification implements NotificationInterface
13
{
14
15
    /**
16
     * send message to members
17
     * @param array $config
18
     * @param $message
19
     * @return mixed
20
     */
21
    public function send($config, $message)
22
    {
23
        echo 'config:' . json_encode($config) . '. message:' . $message . PHP_EOL;
24
    }
25
}