@@ -24,26 +24,26 @@ abstract class Processor
24
24
{
25
25
use Artisan;
26
26
27
+ abstract public function handle (): void ;
28
+
27
29
public function __construct (
28
- protected Options $ options ,
29
- protected InputInterface $ input ,
30
- protected OutputStyle $ output ,
31
- protected Config $ config ,
30
+ protected Options $ options ,
31
+ protected InputInterface $ input ,
32
+ protected OutputStyle $ output ,
33
+ protected Config $ config ,
32
34
protected ActionRepository $ repository ,
33
- protected Git $ git ,
34
- protected File $ file ,
35
- protected Migrator $ migrator ,
36
- protected Notification $ notification ,
37
- protected Dispatcher $ events ,
38
- protected Sorter $ sorter
35
+ protected Git $ git ,
36
+ protected File $ file ,
37
+ protected Migrator $ migrator ,
38
+ protected Notification $ notification ,
39
+ protected Dispatcher $ events ,
40
+ protected Sorter $ sorter
39
41
) {
40
42
$ this ->notification ->setOutput ($ this ->output , $ this ->options ->silent );
41
43
$ this ->repository ->setConnection ($ this ->options ->connection );
42
44
$ this ->migrator ->setConnection ($ this ->options ->connection )->setOutput ($ this ->output );
43
45
}
44
46
45
- abstract public function handle (): void ;
46
-
47
47
protected function getFiles (string $ path , ?Closure $ filter = null ): array
48
48
{
49
49
$ file = Str::finish ($ path , '.php ' );
0 commit comments