HasUriTrait   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getUri() 0 4 1
A setUri() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Tidal/WampWatch package.
5
 *   (c) 2016 Timo Michna <timomichna/yahoo.de>
6
 *
7
 *  For the full copyright and license information, please view the LICENSE
8
 *  file that was distributed with this source code.
9
 *
10
 */
11
12
/**
13
 * Created by PhpStorm.
14
 * User: Timo
15
 * Date: 25.07.2016
16
 * Time: 20:07.
17
 */
18
19
namespace Tidal\WampWatch\Model\Property\Scalar;
20
21
trait HasUriTrait
22
{
23
    private $uri;
24
25
    /**
26
     * @return string
27
     */
28
    public function getUri()
29
    {
30
        return $this->uri;
31
    }
32
33
    private function setUri($uri)
34
    {
35
        $this->uri = (string) $uri;
36
    }
37
}
38