Line data Source code
1 : /* This is a generated file, edit the .stub.php file instead.
2 : * Stub hash: 328c02a318c199e599e76258e71fb99fc9288198 */
3 :
4 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_Colopl_ColoplTimeShifter_register_hook, 0, 1, _IS_BOOL, 0)
5 : ZEND_ARG_OBJ_INFO(0, interval, DateInterval, 0)
6 : ZEND_END_ARG_INFO()
7 :
8 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_Colopl_ColoplTimeShifter_unregister_hook, 0, 0, IS_VOID, 0)
9 : ZEND_END_ARG_INFO()
10 :
11 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_Colopl_ColoplTimeShifter_is_hooked, 0, 0, _IS_BOOL, 0)
12 : ZEND_END_ARG_INFO()
13 :
14 : #define arginfo_class_Colopl_ColoplTimeShifter_Manager_isAvailable arginfo_Colopl_ColoplTimeShifter_is_hooked
15 :
16 : #define arginfo_class_Colopl_ColoplTimeShifter_Manager_isHooked arginfo_Colopl_ColoplTimeShifter_is_hooked
17 :
18 : #define arginfo_class_Colopl_ColoplTimeShifter_Manager_unhook arginfo_Colopl_ColoplTimeShifter_is_hooked
19 :
20 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Colopl_ColoplTimeShifter_Manager_hookDateTime, 0, 1, _IS_BOOL, 0)
21 : ZEND_ARG_OBJ_INFO(0, dateTime, DateTimeInterface, 0)
22 : ZEND_END_ARG_INFO()
23 :
24 : ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Colopl_ColoplTimeShifter_Manager_hookDateInterval, 0, 1, _IS_BOOL, 0)
25 : ZEND_ARG_OBJ_INFO(0, dateInterval, DateInterval, 0)
26 : ZEND_END_ARG_INFO()
27 :
28 : ZEND_FUNCTION(Colopl_ColoplTimeShifter_register_hook);
29 : ZEND_FUNCTION(Colopl_ColoplTimeShifter_unregister_hook);
30 : ZEND_FUNCTION(Colopl_ColoplTimeShifter_is_hooked);
31 : ZEND_METHOD(Colopl_ColoplTimeShifter_Manager, isAvailable);
32 : ZEND_METHOD(Colopl_ColoplTimeShifter_Manager, isHooked);
33 : ZEND_METHOD(Colopl_ColoplTimeShifter_Manager, unhook);
34 : ZEND_METHOD(Colopl_ColoplTimeShifter_Manager, hookDateTime);
35 : ZEND_METHOD(Colopl_ColoplTimeShifter_Manager, hookDateInterval);
36 :
37 : static const zend_function_entry ext_functions[] = {
38 : #if (PHP_VERSION_ID >= 80400)
39 : ZEND_RAW_FENTRY(ZEND_NS_NAME("Colopl\\ColoplTimeShifter", "register_hook"), zif_Colopl_ColoplTimeShifter_register_hook, arginfo_Colopl_ColoplTimeShifter_register_hook, 0, NULL, NULL)
40 : #else
41 : ZEND_RAW_FENTRY(ZEND_NS_NAME("Colopl\\ColoplTimeShifter", "register_hook"), zif_Colopl_ColoplTimeShifter_register_hook, arginfo_Colopl_ColoplTimeShifter_register_hook, 0)
42 : #endif
43 : #if (PHP_VERSION_ID >= 80400)
44 : ZEND_RAW_FENTRY(ZEND_NS_NAME("Colopl\\ColoplTimeShifter", "unregister_hook"), zif_Colopl_ColoplTimeShifter_unregister_hook, arginfo_Colopl_ColoplTimeShifter_unregister_hook, 0, NULL, NULL)
45 : #else
46 : ZEND_RAW_FENTRY(ZEND_NS_NAME("Colopl\\ColoplTimeShifter", "unregister_hook"), zif_Colopl_ColoplTimeShifter_unregister_hook, arginfo_Colopl_ColoplTimeShifter_unregister_hook, 0)
47 : #endif
48 : #if (PHP_VERSION_ID >= 80400)
49 : ZEND_RAW_FENTRY(ZEND_NS_NAME("Colopl\\ColoplTimeShifter", "is_hooked"), zif_Colopl_ColoplTimeShifter_is_hooked, arginfo_Colopl_ColoplTimeShifter_is_hooked, 0, NULL, NULL)
50 : #else
51 : ZEND_RAW_FENTRY(ZEND_NS_NAME("Colopl\\ColoplTimeShifter", "is_hooked"), zif_Colopl_ColoplTimeShifter_is_hooked, arginfo_Colopl_ColoplTimeShifter_is_hooked, 0)
52 : #endif
53 : ZEND_FE_END
54 : };
55 :
56 : static const zend_function_entry class_Colopl_ColoplTimeShifter_Manager_methods[] = {
57 : ZEND_ME(Colopl_ColoplTimeShifter_Manager, isAvailable, arginfo_class_Colopl_ColoplTimeShifter_Manager_isAvailable, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
58 : ZEND_ME(Colopl_ColoplTimeShifter_Manager, isHooked, arginfo_class_Colopl_ColoplTimeShifter_Manager_isHooked, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
59 : ZEND_ME(Colopl_ColoplTimeShifter_Manager, unhook, arginfo_class_Colopl_ColoplTimeShifter_Manager_unhook, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
60 : ZEND_ME(Colopl_ColoplTimeShifter_Manager, hookDateTime, arginfo_class_Colopl_ColoplTimeShifter_Manager_hookDateTime, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
61 : ZEND_ME(Colopl_ColoplTimeShifter_Manager, hookDateInterval, arginfo_class_Colopl_ColoplTimeShifter_Manager_hookDateInterval, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
62 : ZEND_FE_END
63 : };
64 :
65 274 : static zend_class_entry *register_class_Colopl_ColoplTimeShifter_Manager(void)
66 : {
67 : zend_class_entry ce, *class_entry;
68 :
69 274 : INIT_NS_CLASS_ENTRY(ce, "Colopl\\ColoplTimeShifter", "Manager", class_Colopl_ColoplTimeShifter_Manager_methods);
70 : #if (PHP_VERSION_ID >= 80400)
71 274 : class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
72 : #else
73 : class_entry = zend_register_internal_class_ex(&ce, NULL);
74 : class_entry->ce_flags |= ZEND_ACC_FINAL;
75 : #endif
76 :
77 274 : return class_entry;
78 : }
|