bluetree-service/event

View on GitHub
src/Event/Base/Interfaces/EventInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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();
}