1 | <?php |
||
9 | abstract class ClassMethodOperationDelta extends Operation { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $context; |
||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | protected $visibility; |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $fileBefore; |
||
22 | /** |
||
23 | * @var \PhpParser\Node\Stmt |
||
24 | */ |
||
25 | protected $contextBefore; |
||
26 | /** |
||
27 | * @var \PhpParser\Node\Stmt\ClassMethod |
||
28 | */ |
||
29 | protected $classMethodBefore; |
||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $fileAfter; |
||
34 | /** |
||
35 | * @var \PhpParser\Node\Stmt |
||
36 | */ |
||
37 | protected $contextAfter; |
||
38 | /** |
||
39 | * @var \PhpParser\Node\Stmt\ClassMethod |
||
40 | */ |
||
41 | protected $classMethodAfter; |
||
42 | |||
43 | /** |
||
44 | * @param string $context |
||
45 | * @param string $fileBefore |
||
46 | * @param \PhpParser\Node\Stmt $contextBefore |
||
47 | * @param \PhpParser\Node\Stmt\ClassMethod $classMethodBefore |
||
48 | * @param string $fileAfter |
||
49 | * @param \PhpParser\Node\Stmt $contextAfter |
||
50 | * @param \PhpParser\Node\Stmt\ClassMethod $classMethodAfter |
||
51 | */ |
||
52 | 20 | public function __construct($context, |
|
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getLocation() |
||
77 | |||
78 | /** |
||
79 | * @return int |
||
80 | */ |
||
81 | public function getLine() |
||
85 | |||
86 | /** |
||
87 | * @return string |
||
88 | */ |
||
89 | 20 | public function getTarget() |
|
93 | |||
94 | /** |
||
95 | * @return string |
||
96 | */ |
||
97 | 20 | public function getCode() |
|
101 | |||
102 | /** |
||
103 | * @return string |
||
104 | */ |
||
105 | 20 | public function getReason() |
|
109 | |||
110 | /** |
||
111 | * @return string |
||
112 | */ |
||
113 | 20 | protected function getVisibility($context) |
|
117 | } |
||
118 |