-
-
Save bran921007/597cf0507ba3f27e7c181dcab7bdd01e to your computer and use it in GitHub Desktop.
Hold up... Wait a minute... It's a Laravel Chopper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
class PewPewPew extends Command | |
{ | |
protected $signature = 'pewpewpew'; | |
protected $description = 'Command description'; | |
public function __construct() | |
{ | |
parent::__construct(); | |
} | |
public function handle() | |
{ | |
$this->info('Hold up...'); | |
sleep(1); | |
$this->info('Wait a minute...'); | |
sleep(2); | |
$this->info('It\'s a chopper...'); | |
$this->comment($this->copter()); | |
} | |
public function copter() | |
{ | |
return ' | |
================--+--================= | |
~|~ ,-~~-. | |
____/~~~~~~~======-= : /~> : | |
/\'~~||~| |== == |-- ~-________________/ / | |
_/_|__||_| ||_||_|| LARAVEL < | |
(-+| | |______| ___-----```````\__\ | |
`-+._____ ___________ _-~ | |
~-________||__________||_____ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment