PHP 8.2.30
Preview: psr_event_dispatcher.h Size: 1.17 KB
//proc/thread-self/root/proc/thread-self/root/opt/cloudlinux/alt-php85/root/usr/include/php/ext/psr/psr_event_dispatcher.h

#ifndef PSR_EVENT_DISPATCHER_H
#define PSR_EVENT_DISPATCHER_H

#include "php.h"
#include "php_psr.h"

#if PHP_VERSION_ID >= 70200
#define PHP_PSR_EVENT_DISPATCHER_VERSION "1.0.0"
#define PHP_PSR_EVENT_DISPATCHER_VERSION_ID 10000

extern PHP_PSR_API zend_class_entry * PsrEventDispatcherEventDispatcherInterface_ce_ptr;
extern PHP_PSR_API zend_class_entry * PsrEventDispatcherListenerProviderInterface_ce_ptr;
extern PHP_PSR_API zend_class_entry * PsrEventDispatcherStoppableEventInterface_ce_ptr;

extern PHP_MINIT_FUNCTION(psr_event_dispatcher);

PHP_PSR_BEGIN_ARG_INFO(EventDispatcher, EventDispatcherInterface, dispatch, 1)
    ZEND_ARG_TYPE_INFO(0, event, IS_OBJECT, 0)
PHP_PSR_END_ARG_INFO()

PHP_PSR_BEGIN_ARG_WITH_RETURN_TYPE_INFO(EventDispatcher, ListenerProviderInterface, getListenersForEvent, 1, IS_ITERABLE, 0)
    ZEND_ARG_TYPE_INFO(0, event, IS_OBJECT, 0)
PHP_PSR_END_ARG_INFO()

PHP_PSR_BEGIN_ARG_WITH_RETURN_TYPE_INFO(EventDispatcher, StoppableEventInterface, isPropagationStopped, 0, _IS_BOOL, 0)
PHP_PSR_END_ARG_INFO()
#endif

#endif /* PSR_EVENT_DISPATCHER_H */

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 * vim600: fdm=marker
 * vim: et sw=4 ts=4
 */

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
2.02 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
2.29 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
872 B lrw-r--r-- 2025-12-23 17:16:34
Edit Download
1.17 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
1.22 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
2.92 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
8.82 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
740 B lrw-r--r-- 2025-12-23 17:16:34
Edit Download
832 B lrw-r--r-- 2025-12-23 17:16:34
Edit Download
2.08 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
2.42 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download
1.60 KB lrw-r--r-- 2025-12-23 17:16:34
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).