Driver_None::store()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 2
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Provides logging functionality as a mock-up
5
 *
6
 * PHP Version 5
7
 *
8
 * @category  Core
9
 * @package   Logs
10
 * @author    Hans-Joachim Piepereit <[email protected]>
11
 * @copyright 2013 cSphere Team
12
 * @license   http://opensource.org/licenses/bsd-license Simplified BSD License
13
 * @link      http://www.csphere.eu
14
 **/
15
16
namespace csphere\core\logs;
17
18
/**
19
 * Provides logging functionality as a mock-up
20
 *
21
 * @category  Core
22
 * @package   Logs
23
 * @author    Hans-Joachim Piepereit <[email protected]>
24
 * @copyright 2013 cSphere Team
25
 * @license   http://opensource.org/licenses/bsd-license Simplified BSD License
26
 * @link      http://www.csphere.eu
27
 **/
28
29
class Driver_None extends Base
30
{
31
    /**
32
     * Stores the log content for later usage
33
     *
34
     * @param string $component Name of the core component
35
     * @param string $content   Content to log in this case
36
     *
37
     * @return boolean
38
     **/
0 ignored issues
show
Coding Style introduced by
There must be no blank lines after the function comment
Loading history...
39
40
    protected function store($component, $content)
41
    {
42
        unset($component, $content);
43
44
        return true;
45
    }
46
}
47