Test Failed
Pull Request — master (#256)
by
unknown
07:58
created

PasargadReducer   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 16
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getUrlId() 0 3 1
A urlId() 0 4 1
1
<?php
2
3
namespace Shetabit\Multipay\Drivers\Pasargad\PasargadReducer;
4
5
class PasargadReducer
6
{
7
8
    protected $urlId;
9
10
11
    public function urlId(string $id): PasargadReducer
12
    {
13
        $this->urlId = $id;
14
        return $this;
15
    }
16
17
18
    public function getUrlId(): string
19
    {
20
        return $this->urlId;
21
    }
22
}
23