Module::onBootstrap()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * YAWIK
4
 * Auth Module Bootstrap
5
 *
6
 * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
 * @license   MIT
8
 */
9
10
namespace Cv;
11
12
use Core\ModuleManager\Feature\VersionProviderInterface;
13
use Core\ModuleManager\Feature\VersionProviderTrait;
14
use Laminas\Mvc\MvcEvent;
15
16
/**
17
 * Bootstrap class of the Core module
18
 *
19
 */
20
class Module implements VersionProviderInterface
21
{
22
    use VersionProviderTrait;
23
24
    const VERSION = \Core\Module::VERSION;
25
26
    /**
27
     * Loads module specific configuration.
28
     *
29
     * @return array
30
     */
31 5
    public function getConfig()
32
    {
33 5
        return include __DIR__ . '/../config/module.config.php';
34
    }
35
36
    public function onBootstrap(MvcEvent $e)
0 ignored issues
show
Unused Code introduced by
The parameter $e is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

36
    public function onBootstrap(/** @scrutinizer ignore-unused */ MvcEvent $e)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
37
    {
38
    }
39
}
40