ScheduledTaskSkipped.php
TLDR
This file defines the ScheduledTaskSkipped
class in the Illuminate\Console\Events
namespace. The class represents an event that is fired when a scheduled task is skipped.
Classes
ScheduledTaskSkipped
The ScheduledTaskSkipped
class represents an event that is fired when a scheduled task is skipped. It has the following properties:
-
task
(public): An instance of theIlluminate\Console\Scheduling\Event
class representing the scheduled event being run.
The class has a constructor method that accepts an instance of the Illuminate\Console\Scheduling\Event
class and initializes the task
property with it.
<?php
namespace Illuminate\Console\Events;
use Illuminate\Console\Scheduling\Event;
class ScheduledTaskSkipped
{
/**
* The scheduled event being run.
*
* @var \Illuminate\Console\Scheduling\Event
*/
public $task;
/**
* Create a new event instance.
*
* @param \Illuminate\Console\Scheduling\Event $task
* @return void
*/
public function __construct(Event $task)
{
$this->task = $task;
}
}