Changeset 52244 for trunk/src/wp-includes/Requests/HookManager.php
- Timestamp:
- 11/25/2021 01:10:30 AM (5 years ago)
- File:
-
- 1 moved
-
trunk/src/wp-includes/Requests/HookManager.php (moved) (moved from trunk/src/wp-includes/Requests/Hooker.php ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/HookManager.php
r52243 r52244 3 3 * Event dispatcher 4 4 * 5 * @package Requests 6 * @subpackage Utilities 5 * @package Requests\EventDispatcher 7 6 */ 7 8 namespace WpOrg\Requests; 8 9 9 10 /** 10 11 * Event dispatcher 11 12 * 12 * @package Requests 13 * @subpackage Utilities 13 * @package Requests\EventDispatcher 14 14 */ 15 interface Requests_Hooker {15 interface HookManager { 16 16 /** 17 17 * Register a callback for a hook 18 18 * 19 19 * @param string $hook Hook name 20 * @param call back$callback Function/method to call on event20 * @param callable $callback Function/method to call on event 21 21 * @param int $priority Priority number. <0 is executed earlier, >0 is executed later 22 22 */ … … 30 30 * @return boolean Successfulness 31 31 */ 32 public function dispatch($hook, $parameters = array());32 public function dispatch($hook, $parameters = []); 33 33 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)