Skip to content

Instantly share code, notes, and snippets.

@ericlbarnes
Created May 7, 2020 15:12
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ericlbarnes/fb23c920a2bac1510bfb8203a65b1cbf to your computer and use it in GitHub Desktop.
Save ericlbarnes/fb23c920a2bac1510bfb8203a65b1cbf to your computer and use it in GitHub Desktop.
Hold up... Wait a minute... It's a Laravel Chopper
<?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