Cachet/app/Events/Incident/IncidentWasUpdatedEvent.php

37 lines
769 B
PHP
Raw Normal View History

2015-09-22 19:48:08 +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 IncidentWasUpdatedEvent implements IncidentEventInterface
2015-09-22 19:48:08 +01:00
{
/**
* The incident that has been updated.
*
* @var \CachetHQ\Cachet\Models\Incident
*/
public $incident;
/**
* Create a new incident has updated event instance.
*
2015-12-22 12:14:47 +00:00
* @param \CachetHQ\Cachet\Models\Incident $incident
2015-12-22 08:41:03 +00:00
*
2015-09-22 19:48:08 +01:00
* @return void
*/
public function __construct(Incident $incident)
{
$this->incident = $incident;
}
}