Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Console\Events;
4
 
5
use Illuminate\Console\Scheduling\Event;
6
use Throwable;
7
 
8
class ScheduledTaskFailed
9
{
10
    /**
11
     * The scheduled event that failed.
12
     *
13
     * @var \Illuminate\Console\Scheduling\Event
14
     */
15
    public $task;
16
 
17
    /**
18
     * The exception that was thrown.
19
     *
20
     * @var \Throwable
21
     */
22
    public $exception;
23
 
24
    /**
25
     * Create a new event instance.
26
     *
27
     * @param  \Illuminate\Console\Scheduling\Event  $task
28
     * @param  \Throwable  $exception
29
     * @return void
30
     */
31
    public function __construct(Event $task, Throwable $exception)
32
    {
33
        $this->task = $task;
34
        $this->exception = $exception;
35
    }
36
}