ChunkServerTimer::getChunkServer()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the slince/spike package.
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Spike\Server\ChunkServer\Timer;
13
14
use Spike\Common\Timer\TimerInterface;
15
use Spike\Server\ChunkServer\ChunkServerInterface;
16
17
abstract class ChunkServerTimer implements TimerInterface
18
{
19
    /**
20
     * @var ChunkServerInterface
21
     */
22
    protected $chunkServer;
23
24
    public function __construct(ChunkServerInterface $tunnelServer)
25
    {
26
        $this->chunkServer = $tunnelServer;
27
    }
28
29
    /**
30
     * @return ChunkServerInterface
31
     */
32
    public function getChunkServer()
33
    {
34
        return $this->chunkServer;
35
    }
36
}