ParserManagerFactory   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 4
Bugs 0 Features 0
Metric Value
wmc 2
c 4
b 0
f 0
lcom 0
cbo 1
dl 0
loc 18
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfigKey() 0 4 1
A getClassName() 0 4 1
1
<?php
2
/**
3
 * Dash
4
 *
5
 * @link      http://github.com/DASPRiD/Dash For the canonical source repository
6
 * @copyright 2013-2015 Ben Scholzen 'DASPRiD'
7
 * @license   http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
8
 */
9
10
namespace Dash\Parser;
11
12
use Dash\AbstractPluginManagerFactory;
13
14
/**
15
 * Factory for the parser manager.
16
 */
17
class ParserManagerFactory extends AbstractPluginManagerFactory
18
{
19
    /**
20
     * {@inheritdoc}
21
     */
22
    protected function getConfigKey()
23
    {
24
        return 'parser_manager';
25
    }
26
27
    /**
28
     * {@inheritdoc}
29
     */
30
    protected function getClassName()
31
    {
32
        return ParserManager::class;
33
    }
34
}
35