Completed
Push — master ( 879d36...0a7e57 )
by Thomas Mauro
02:06
created

AbstractFactory::__construct()   A

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 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Facile\SentryModule\Service;
4
5
/**
6
 * Class AbstractFactory.
7
 */
8
abstract class AbstractFactory
9
{
10
    /**
11
     * @var string
12
     */
13
    protected $name;
14
15
    /**
16
     * @param string $name
17
     */
18 2
    public function __construct($name)
19
    {
20 2
        $this->name = $name;
21 2
    }
22
}
23