Completed
Push — master ( 9f721d...dab6df )
by Alex
02:17
created

ServiceRequestParams   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 1
f 0
dl 0
loc 19
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
namespace Mezon\Service;
3
4
/**
5
 * Interface ServiceRequestParamsInterface
6
 *
7
 * @package Service
8
 * @subpackage ServiceRequestParamsInterface
9
 * @author Dodonov A.A.
10
 * @version v.1.0 (2019/10/31)
11
 * @copyright Copyright (c) 2019, aeon.org
12
 */
13
14
/**
15
 * Request params fetcher
16
 */
17
abstract class ServiceRequestParams implements \Mezon\Service\ServiceRequestParamsInterface
18
{
19
20
    /**
21
     * Router of the transport
22
     *
23
     * @var \Mezon\Router\Router
24
     */
25
    protected $router = false; // TODO make it private
26
27
    /**
28
     * Constructor
29
     *
30
     * @param \Mezon\Router\Router $router
31
     *            Router object
32
     */
33
    public function __construct(\Mezon\Router\Router &$router)
34
    {
35
        $this->router = $router;
36
    }
37
}
38