DynamoDbEventHandler   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 11
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A isHandling() 0 3 1
1
<?php
2
/*
3
 * This file is part of Monolog Extensions
4
 *
5
 * Copyright (c) 2014 Nature Delivered Ltd. <http://graze.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @see  http://github.com/graze/MonologExtensions/blob/master/LICENSE
11
 * @link http://github.com/graze/MonologExtensions
12
 */
13
namespace Graze\Monolog\Handler;
14
15
use Monolog\Handler\DynamoDbHandler;
16
17
class DynamoDbEventHandler extends DynamoDbHandler
18
{
19
    /**
20
     * Event handlers handle all events by default
21
     *
22
     * @param array $record
23
     * @return bool always returns true
24
     */
25 2
    public function isHandling(array $record)
26
    {
27 2
        return true;
28
    }
29
}
30