Completed
Push — master ( e447f7...0a0e4a )
by Miro
02:26
created

GithubRepoSshUrl::__toString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace DevBoardLib\GithubCore\Repo;
4
5
/**
6
 * @todo: Reason this class exists
7
 */
8
class GithubRepoSshUrl
9
{
10
    /**
11
     * @var string
12
     */
13
    private $url;
14
15
    /**
16
     * @param $url
17
     */
18
    public function __construct(string $url)
19
    {
20
        $this->url = $url;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function __toString() : string
27
    {
28
        return $this->url;
29
    }
30
}
31