Test Failed
Push — master ( a5a28b...999969 )
by Marcin
02:51
created

Bitmap::__construct()   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
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * Grandstream-XMLApp
4
 *
5
 * Copyright (c) 2017 pudelek.org.pl
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For the full copyright and license information, please view source file
10
 * that is bundled with this package in the file LICENSE
11
 *
12
 * @author  Marcin Pudełek <[email protected]>
13
 */
14
15
16
namespace mrcnpdlk\Grandstream\XMLApp\Helper;
17
18
19
class Bitmap
20
{
21
    /**
22
     * @var string
23
     */
24
    private $sUrl;
25
26
    public function __construct(string $url = null)
27
    {
28
        $this->sUrl = $url ?? '';
29
    }
30
31
    public function get()
32
    {
33
        return $this->sUrl;
34
    }
35
}