Skip to content

Instantly share code, notes, and snippets.

@muath-ye
Forked from ericlbarnes/PewPewPew.php
Created May 8, 2020 21:38
Show Gist options
  • Save muath-ye/ae5bf0c5595ec35ec4cb04da99c4931f to your computer and use it in GitHub Desktop.
Save muath-ye/ae5bf0c5595ec35ec4cb04da99c4931f 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