for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Laravel Quotes package.
*
* (c) Prosper Otemuyiwa <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Unicodeveloper\Quotes\Commands;
use Illuminate\Console\Command;
use Unicodeveloper\Quotes\Quotes;
class Djkhaled extends Command
{
/**
* The name and signature of the console command.
* @var string
protected $signature = 'djkhaled:inspire';
* The console command description.
protected $description = 'Display a key to success from DJ Khaled';
* Execute the console command.
* @return mixed
public function handle()
$quotes = new Quotes();
$keyToSuccess = $quotes->djkhaled()->anotherOne();
$this->comment(PHP_EOL.$keyToSuccess.PHP_EOL);
shell_exec("say {$keyToSuccess}");
}