3
3
ZEND_BEGIN_ARG_INFO_EX (arginfo_class_Closure___construct , 0 , 0 , 0 )
4
4
ZEND_END_ARG_INFO ()
5
5
6
- ZEND_BEGIN_ARG_INFO_EX (arginfo_class_Closure_bind , 0 , 0 , 2 )
6
+ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_class_Closure_bind , 0 , 2 , Closure , 1 )
7
7
ZEND_ARG_OBJ_INFO (0 , closure , Closure , 0 )
8
8
ZEND_ARG_TYPE_INFO (0 , newthis , IS_OBJECT , 1 )
9
9
ZEND_ARG_INFO (0 , newscope )
10
10
ZEND_END_ARG_INFO ()
11
11
12
- ZEND_BEGIN_ARG_INFO_EX (arginfo_class_Closure_bindTo , 0 , 0 , 1 )
12
+ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_class_Closure_bindTo , 0 , 1 , Closure , 1 )
13
13
ZEND_ARG_TYPE_INFO (0 , newthis , IS_OBJECT , 1 )
14
14
ZEND_ARG_INFO (0 , newscope )
15
15
ZEND_END_ARG_INFO ()
@@ -19,6 +19,22 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Closure_call, 0, 0, 1)
19
19
ZEND_ARG_VARIADIC_INFO (0 , parameters )
20
20
ZEND_END_ARG_INFO ()
21
21
22
- ZEND_BEGIN_ARG_INFO_EX (arginfo_class_Closure_fromCallable , 0 , 0 , 1 )
22
+ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_class_Closure_fromCallable , 0 , 1 , Closure , 0 )
23
23
ZEND_ARG_INFO (0 , callable )
24
24
ZEND_END_ARG_INFO ()
25
+
26
+
27
+ ZEND_METHOD (Closure , __construct );
28
+ ZEND_METHOD (Closure , bind );
29
+ ZEND_METHOD (Closure , call );
30
+ ZEND_METHOD (Closure , fromCallable );
31
+
32
+
33
+ static const zend_function_entry class_Closure_methods [] = {
34
+ ZEND_ME (Closure , __construct , arginfo_class_Closure___construct , ZEND_ACC_PRIVATE )
35
+ ZEND_ME (Closure , bind , arginfo_class_Closure_bind , ZEND_ACC_PUBLIC |ZEND_ACC_STATIC )
36
+ ZEND_MALIAS (Closure , bindTo , bind , arginfo_class_Closure_bindTo , ZEND_ACC_PUBLIC )
37
+ ZEND_ME (Closure , call , arginfo_class_Closure_call , ZEND_ACC_PUBLIC )
38
+ ZEND_ME (Closure , fromCallable , arginfo_class_Closure_fromCallable , ZEND_ACC_PUBLIC |ZEND_ACC_STATIC )
39
+ ZEND_FE_END
40
+ };
0 commit comments