| Total Complexity | 4 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class RegionBranch |
||
| 8 | { |
||
| 9 | /** @var int */ |
||
| 10 | private $id; |
||
| 11 | |||
| 12 | /** @var string */ |
||
| 13 | private $branchName; |
||
| 14 | /** @var string */ |
||
| 15 | private $regionName; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * RegionBranch constructor. |
||
| 19 | * @param int $id |
||
| 20 | * @param string $branchName |
||
| 21 | * @param string $regionName |
||
| 22 | */ |
||
| 23 | public function __construct(int $id, string $branchName, string $regionName) |
||
| 24 | { |
||
| 25 | $this->id = $id; |
||
| 26 | $this->branchName = $branchName; |
||
| 27 | $this->regionName = $regionName; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return int |
||
| 32 | */ |
||
| 33 | public function getId(): int |
||
| 34 | { |
||
| 35 | return $this->id; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function getBranchName(): string |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getRegionName(): string |
||
| 52 | } |
||
| 53 | |||
| 54 | |||
| 56 | } |