Completed
Pull Request — master (#100)
by Maxime
02:23
created

ConnectorFactory::createConnector()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 4
crap 2
1
<?php
2
3
/**
4
 * This file is a part of Woketo package.
5
 *
6
 * (c) Nekland <[email protected]>
7
 *
8
 * For the full license, take a look to the LICENSE file
9
 * on the root directory of this project
10
 */
11
12
namespace Nekland\Woketo\Client;
13
14
15
use React\SocketClient\ConnectorInterface;
16
17
class ConnectorFactory implements ConnectorFactoryInterface
18
{
19
    public function createConnector(string $host, int $port, bool $secured = false, array $sslConfig = [])
20
    {
21
        // TODO: Implement createConnector() method.
22
    }
23
}