Completed
Pull Request — master (#50)
by De Cramer
03:04
created

GameDataStorage   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getGameInfos() 0 4 1
A setGameInfos() 0 4 1
1
<?php
2
3
namespace eXpansion\Framework\Core\Storage;
4
use Maniaplanet\DedicatedServer\Structures\GameInfos;
5
6
/**
7
 * Class GameDataStorage
8
 *
9
 * @author    de Cramer Oliver<[email protected]>
10
 * @copyright 2017 Smile
11
 * @package eXpansion\Framework\Core\Storage
12
 */
13
class GameDataStorage
14
{
15
    /** @var  GameInfos */
16
    protected $gameInfos;
17
18
    /**
19
     * @return GameInfos
20
     */
21
    public function getGameInfos()
22
    {
23
        return $this->gameInfos;
24
    }
25
26
    /**
27
     * @param GameInfos $gameInfos
28
     */
29
    public function setGameInfos($gameInfos)
30
    {
31
        $this->gameInfos = $gameInfos;
32
    }
33
}