Skip to content

Commit efbfce0

Browse files
committed
Add handle function to commands which calls fire (for Laravel 5.5)
1 parent f4f9936 commit efbfce0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Commands/ApiDocsGenerator.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ public function fire() {
2424
$docs = $this->markdown->getMarkdownDocumentation($resources);
2525
$this->info($docs);
2626
}
27+
28+
public function handle() {
29+
self::fire();
30+
}
2731
}

src/Commands/CoverageCheckCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ public function fire() {
3939
exit(1);
4040
}
4141
}
42+
43+
public function handle() {
44+
self::fire();
45+
}
4246
}

0 commit comments

Comments
 (0)