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

Test   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 24
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A this() 0 3 1
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