ConsoleNullDecorator   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A decorate() 0 4 1
1
<?php
2
/*
3
 * Copyright (c) 2015 Juan José Torroglosa Ramón
4
 *
5
 * This file is part of the Cliphar package.
6
 *
7
 * For the full copyright and license information, please view
8
 * the LICENSE file that was distributed with this source code.
9
 */
10
11
namespace Cliphar\Logger\Decorator;
12
13
class ConsoleNullDecorator extends ConsoleMessageDecorator
14
{
15
    public function __construct($decorator = null)
16
    {
17
        parent::__construct($decorator);
18
    }
19
20
21
    public function decorate($level, $message)
22
    {
23
        return "";
24
    }
25
}