-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathEventAwareApplicationInterface.php
More file actions
35 lines (31 loc) · 1.21 KB
/
EventAwareApplicationInterface.php
File metadata and controls
35 lines (31 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
declare(strict_types=1);
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link https://cakephp.org CakePHP(tm) Project
* @since 5.1.0
* @license https://opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Core;
use Cake\Event\EventManagerInterface;
interface EventAwareApplicationInterface
{
/**
* Register application events.
*
* @param \Cake\Event\EventManagerInterface $eventManager The global event manager to register listeners on
* @return \Cake\Event\EventManagerInterface
*/
public function events(EventManagerInterface $eventManager): EventManagerInterface;
/**
* @param \Cake\Event\EventManagerInterface $eventManager The global event manager to register listeners on
* @return \Cake\Event\EventManagerInterface
*/
public function pluginEvents(EventManagerInterface $eventManager): EventManagerInterface;
}