Passed
Pull Request — master (#256)
by
unknown
02:40
created

PasargadHolder::urlId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace Shetabit\Multipay\Drivers\Pasargad\PasargadHolder;
4
5
class PasargadHolder
6
{
7
8
    protected $urlId;
9
10
11
    public function urlId(string $id): PasargadHolder
12
    {
13
        $this->urlId = $id;
14
        return $this;
15
    }
16
17
18
    public function getUrlId(): string
19
    {
20
        return $this->urlId;
21
    }
22
}
23