EchoNotification::send()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
c 2
b 0
f 2
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 2
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
}