Completed
Push — master ( 26e625...88c602 )
by Timo
02:58
created

HasUriTrait::setUri()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 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
namespace Tidal\WampWatch\Model\Property\Scalar;
19
20
trait HasUriTrait
21
{
22
    private $uri;
23
24
    /**
25
     * @return string
26
     */
27
    public function getUri()
28
    {
29
        return $this->uri;
30
    }
31
32
    private function setUri($uri)
33
    {
34
        $this->uri = (string) $uri;
35
    }
36
}
37