1 | <?php |
||
9 | class Difference |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var Method |
||
14 | */ |
||
15 | private $newMethod; |
||
16 | /** |
||
17 | * @var Method |
||
18 | */ |
||
19 | private $oldMethod; |
||
20 | |||
21 | public function __construct(Method $newMethod, Method $oldMethod = null) |
||
26 | |||
27 | public function getMethodFullName() : string |
||
31 | |||
32 | public function getMethodShortName() : string |
||
36 | |||
37 | public function getCrapScore() : float |
||
41 | |||
42 | public function isNew() : bool |
||
46 | |||
47 | public function getCrapDifference(): float |
||
51 | |||
52 | public function getFile() |
||
56 | |||
57 | public function getLine() |
||
61 | } |
||
62 |