Файл: vendor/laravel/framework/src/Illuminate/Console/Events/ScheduledTaskFailed.php
Строк: 34
<?php
namespace IlluminateConsoleEvents;
use IlluminateConsoleSchedulingEvent;
use Throwable;
class ScheduledTaskFailed
{
/**
* The scheduled event that failed.
*
* @var IlluminateConsoleSchedulingEvent
*/
public $task;
/**
* The exception that was thrown.
*
* @var Throwable
*/
public $exception;
/**
* Create a new event instance.
*
* @param IlluminateConsoleSchedulingEvent $task
* @param Throwable $exception
* @return void
*/
public function __construct(Event $task, Throwable $exception)
{
$this->task = $task;
$this->exception = $exception;
}
}