Completed
Push — master ( 25c087...a46420 )
by Lawrence
01:31
created

Test::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 +------------------------------------------------------------------------+
4
 | Plinker-RPC PHP                                                        |
5
 +------------------------------------------------------------------------+
6
 | Copyright (c)2017-2018 (https://github.com/plinker-rpc/core)           |
7
 +------------------------------------------------------------------------+
8
 | This source file is subject to MIT License                             |
9
 | that is bundled with this package in the file LICENSE.                 |
10
 |                                                                        |
11
 | If you did not receive a copy of the license and are unable to         |
12
 | obtain it through the world-wide-web, please send an email             |
13
 | to [email protected] so we can send you a copy immediately.        |
14
 +------------------------------------------------------------------------+
15
 | Authors: Lawrence Cherone <[email protected]>                     |
16
 +------------------------------------------------------------------------+
17
 */
18
19
namespace Plinker\Core\Endpoint;
20
21
/**
22
 * Plinker\Core\Endpoint\Test
23
 */
24
final class Test
25
{
26
    /**
27
     * @var
28
     */
29
    private $config;
30
    
31
    /**
32
     * Class construct
33
     *
34
     * @param  array $config - Config array which holds object configuration
35
     * @return void
36
     */
37
    public function __construct(array $config = [])
38
    {
39
        $this->config = $config;
40
    }
41
42
    /**
43
     *
44
     */
45
    public function this()
46
    {
47
        return $this;
48
    }
49
}
50