ReflectionClass   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace BestServedCold\Reflection;
4
5
/**
6
 * Class ReflectionClass
7
 *
8
 * @package   BestServedCold\PhalueObjects\Utility\Reflection
9
 * @author    Adam Lewis <[email protected]>
10
 * @copyright Copyright (c) 2015 Best Served Cold Media Limited
11
 * @license   http://http://opensource.org/licenses/GPL-3.0 GPL License
12
 * @link      http://bestservedcold.com
13
 * @version   1.0.0
14
 */
15
class ReflectionClass extends AbstractReflection implements ReflectionInterface
16
{
17
    /**
18
     * @param $class
19
     */
20 3
    public function __construct($class)
21
    {
22 3
        $this->class = (string) $class;
23 3
    }
24
}
25