GetScores   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 3
lcom 1
cbo 1
dl 0
loc 26
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A onPreLoop() 0 4 1
A onPostLoop() 0 4 1
A onEverySecond() 0 4 1
1
<?php
2
3
namespace eXpansion\Framework\GameManiaplanet\ScriptMethods;
4
5
use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceExpTimer;
6
use eXpansion\Framework\Core\ScriptMethods\AbstractScriptMethod;
7
8
/**
9
 * Class GetScores
10
 *
11
 * @author    de Cramer Oliver<[email protected]>
12
 * @copyright 2017 eXpansion
13
 * @package eXpansion\Framework\GameManiaplanet\ScriptMethods
14
 */
15
class GetScores extends AbstractScriptMethod implements ListenerInterfaceExpTimer
16
{
17
    /**
18
     * @inheritdoc
19
     */
20
    public function onPreLoop()
21
    {
22
        $this->currentData = null;
23
    }
24
25
    /**
26
     * @inheritdoc
27
     */
28
    public function onPostLoop()
29
    {
30
        // Nothing.
31
    }
32
33
    /**
34
     * @inheritdoc
35
     */
36
    public function onEverySecond()
37
    {
38
        // Nothing.
39
    }
40
}
41