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

AbstractFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 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