Laravel tip #4. Запускаем Job из tinker

1 min read

Запускаем tinker
:
php artisan tinker
И вводим следующий код, с заменой на свой job
:
Queue::push(new App\Jobs\InspireJob());
0
Subscribe to my newsletter
Read articles from Anastas Mironov directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
