Passed
Pull Request — master (#11)
by Sergey
09:39
created

TcpServer   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 29
ccs 0
cts 7
cp 0
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A start() 0 1 1
A setConfig() 0 1 1
A down() 0 1 1
A setType() 0 1 1
1
<?php
2
3
namespace Asiries335\redisSteamPhp\Server;
4
5
use Asiries335\redisSteamPhp\Listeners\ListenerContract;
6
7
class TcpServer implements ServerInterface
8
{
9
    /**
10
     * @param string $type
11
     * @return void
12
     */
13
    public function setType(string $type): void {
14
        // TODO: Implement setType() method.
15
    }
16
17
    /**
18
     * @param array $config
19
     * @return void
20
     */
21
    public function setConfig(array $config): void {
22
        // TODO: Implement setConfig() method.
23
    }
24
25
    /**
26
     * @return void
27
     */
28
    public function start(): void {
29
        // TODO: Implement start() method.
30
    }
31
32
    /**
33
     * @return void
34
     */
35
    public function down(): void {
36
        // TODO: Implement down() method.
37
    }
38
}