src/Event/Base/Interfaces/EventInterface.php
<?php
/**
* Event Object Class Interface
*
* @package BlueEvent
* @author MichaĆ Adamiak <chajr@bluetree.pl>
* @copyright chajr/bluetree
*/
declare(strict_types=1);
namespace BlueEvent\Event\Base\Interfaces;
interface EventInterface
{
public function __construct(string $eventName, array $parameters);
public static function getLaunchCount();
public function isPropagationStopped();
public function stopPropagation();
public function getEventCode();
public function getEventParameters();
}