murph-skeleton/core/Event/Setting/SettingEvent.php
Simon Vieille aafa87ed41 add settings panel
Signed-off-by: Simon Vieille <simon@deblan.fr>
2021-05-02 20:17:39 +02:00

29 lines
483 B
PHP

<?php
namespace App\Core\Event\Setting;
use Symfony\Contracts\EventDispatcher\Event;
/**
* class SettingEvent.
*
* @author Simon Vieille <simon@deblan.fr>
*/
class SettingEvent extends Event
{
const INIT_EVENT = 'setting_event.init';
const FORM_INIT_EVENT = 'setting_event.form_init';
protected $data;
public function __construct($data = null)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
}