2015-08-26 13:14:38 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Cachet.
|
|
|
|
*
|
|
|
|
* (c) Alt Three Services Limited
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace CachetHQ\Cachet\Events\Incident;
|
|
|
|
|
|
|
|
use CachetHQ\Cachet\Models\Incident;
|
|
|
|
|
2015-12-25 16:04:15 +00:00
|
|
|
final class IncidentWasRemovedEvent implements IncidentEventInterface
|
2015-08-26 13:14:38 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The incident that has been removed.
|
|
|
|
*
|
|
|
|
* @var \CachetHQ\Cachet\Models\Incident
|
|
|
|
*/
|
|
|
|
public $incident;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new incident was removed event instance.
|
2015-12-22 08:41:03 +00:00
|
|
|
*
|
2015-12-22 12:14:47 +00:00
|
|
|
* @param \CachetHQ\Cachet\Models\Incident $incident
|
2015-12-22 19:47:05 +00:00
|
|
|
*
|
|
|
|
* @return void
|
2015-08-26 13:14:38 +01:00
|
|
|
*/
|
|
|
|
public function __construct(Incident $incident)
|
|
|
|
{
|
|
|
|
$this->incident = $incident;
|
|
|
|
}
|
|
|
|
}
|