We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d68b2 commit 80f15b5Copy full SHA for 80f15b5
src/Console/ChuckNorrisJoke.php
@@ -0,0 +1,15 @@
1
+<?php
2
+namespace Manojksrivastava\ChuckNorrisJokes\Console;
3
+
4
+use Illuminate\Console\Command;
5
+use Manojksrivastava\ChuckNorrisJokes\Facades\ChuckNorris;
6
7
+class ChuckNorrisJoke extends Command
8
+{
9
+ protected $signature = 'chuck-norris';
10
+ protected $description = 'Output a funny Chuck Norris joke.';
11
+ public function handle()
12
+ {
13
+ $this->info(ChuckNorris::getRandomJoke());
14
+ }
15
+}
0 commit comments