/** * 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}"); }
/** * Execute the console command. * * @return mixed */ public function handle() { $quotes = new Quotes(); $this->comment(PHP_EOL . $quotes->programming()->random() . PHP_EOL); }
/** * Execute the console command. * * @return mixed */ public function handle() { $quotes = new Quotes(); $this->comment(PHP_EOL . $quotes->design()->random() . PHP_EOL); }