1 
2 #ifdef HAVE_CONFIG_H
3 #include "config.h"
4 #endif
5 
6 #include "php.h"
7 #include "php_psr.h"
8 #include "psr_http_server_handler.h"
9 
10 /* {{{ RequestHandlerInterface ---------------------------------------------- */
11 
12 PHP_PSR_API zend_class_entry * PsrHttpServerRequestHandlerInterface_ce_ptr;
13 
14 static zend_function_entry PsrHttpServerRequestHandlerInterface_methods[] = {
15         PHP_PSR_ABSTRACT_ME(PsrHttpServerRequestHandlerInterface, handle)
16         PHP_FE_END
17 };
18 
19 static zend_always_inline void php_psr_register_PsrHttpServerRequestHandlerInterface(INIT_FUNC_ARGS)
20 {
21     zend_class_entry ce;
22     INIT_CLASS_ENTRY(ce, "Psr\\Http\\Server\\RequestHandlerInterface", PsrHttpServerRequestHandlerInterface_methods);
23     PsrHttpServerRequestHandlerInterface_ce_ptr = zend_register_internal_interface(&ce);
24 }
25 
26 /* }}} ---------------------------------------------------------------------- */
27 
28 /* {{{ PHP_MINIT_FUNCTION */
29 PHP_MINIT_FUNCTION(psr_http_server_handler)
30 {
31     php_psr_register_PsrHttpServerRequestHandlerInterface(INIT_FUNC_ARGS_PASSTHRU);
32 
33     return SUCCESS;
34 }
35 /* }}} */
36 
37 /*
38  * Local variables:
39  * tab-width: 4
40  * c-basic-offset: 4
41  * End:
42  * vim600: fdm=marker
43  * vim: et sw=4 ts=4
44  */
45