Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | abstract class GroupManager implements GroupManagerInterface |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | 5 | public function createGroup($name) |
|
17 | { |
||
18 | 5 | $class = $this->getClass(); |
|
19 | |||
20 | 5 | return new $class($name); |
|
21 | } |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | 6 | public function findGroupByName($name) |
|
29 | } |
||
30 | } |
||
31 |