DynamoDbEventHandler::isHandling()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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