Completed
Push — master ( c0f250...321e24 )
by Filipe
15:10
created

CustomUri   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 2
1
<?php
2
3
/**
4
 * This file is part of slick/web_stack package
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Slick\WebStack\Service\UriGenerator\Transformer;
11
12
use Slick\Http\Message\Uri;
13
14
/**
15
 * Custom URI
16
 *
17
 * @package Slick\WebStack\Service\UriGenerator\Transformer
18
 */
19
class CustomUri extends Uri
20
{
21
22
    /**
23
     * Creates an empty HTTP URI
24
     * @param null $url
25
     */
26
    public function __construct($url = null)
27
    {
28
        if (null == $url) {
29
            return;
30
        }
31
32
        parent::__construct($url);
33
    }
34
}
35