Driver_None   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A store() 0 6 1
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