40 lines
855 B
PHP
40 lines
855 B
PHP
<?php
|
|
/**
|
|
*
|
|
* This file is part of phpFastCache.
|
|
*
|
|
* @license MIT License (MIT)
|
|
*
|
|
* For full copyright and license information, please see the docs/CREDITS.txt file.
|
|
*
|
|
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> https://www.phpfastcache.com
|
|
* @author Georges.L (Geolim4) <contact@geolim4.com>
|
|
*
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Phpfastcache\Event;
|
|
|
|
/**
|
|
* Interface EventInterface
|
|
* @package Phpfastcache\Event
|
|
*/
|
|
interface EventManagerDispatcherInterface
|
|
{
|
|
/**
|
|
* @return EventManagerInterface
|
|
*/
|
|
public function getEventManager(): EventManagerInterface;
|
|
|
|
/**
|
|
* @param EventManagerInterface $eventManager
|
|
* @return mixed
|
|
*/
|
|
public function setEventManager(EventManagerInterface $eventManager): self;
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function hasEventManager(): bool;
|
|
} |