Change::getPath()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * @copyright Copyright (c) 2016 Robin Appelman <[email protected]>
4
 * This file is licensed under the Licensed under the MIT license:
5
 * http://opensource.org/licenses/MIT
6
 *
7
 */
8
9
namespace Icewind\SMB;
10
11
class Change {
12
	/** @var int */
13
	private $code;
14
	/** @var string */
15
	private $path;
16
17
	public function __construct(int $code, string $path) {
18
		$this->code = $code;
19
		$this->path = $path;
20
	}
21
22
	public function getCode(): int {
23
		return $this->code;
24
	}
25
26
	public function getPath(): string {
27
		return $this->path;
28
	}
29
}
30