ReflectionClass::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

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