Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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