|
1 | 1 | /* This is a generated file, edit the .stub.php file instead. |
2 | | - * Stub hash: 18d2bb68729ff622a5c0c124a8822f7ee882c2ec */ |
| 2 | + * Stub hash: 9d6c2801abbb78d402efb2b2ccdd5242438bd6a1 */ |
3 | 3 |
|
4 | 4 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Generator_rewind, 0, 0, IS_VOID, 0) |
5 | 5 | ZEND_END_ARG_INFO() |
@@ -46,3 +46,31 @@ static const zend_function_entry class_Generator_methods[] = { |
46 | 46 | ZEND_ME(Generator, getReturn, arginfo_class_Generator_getReturn, ZEND_ACC_PUBLIC) |
47 | 47 | ZEND_FE_END |
48 | 48 | }; |
| 49 | + |
| 50 | + |
| 51 | +static const zend_function_entry class_ClosedGeneratorException_methods[] = { |
| 52 | + ZEND_FE_END |
| 53 | +}; |
| 54 | + |
| 55 | +zend_class_entry *register_class_Generator(zend_class_entry *class_entry_Iterator) |
| 56 | +{ |
| 57 | + zend_class_entry ce, *class_entry; |
| 58 | + |
| 59 | + INIT_CLASS_ENTRY(ce, "Generator", class_Generator_methods); |
| 60 | + class_entry = zend_register_internal_class_ex(&ce, NULL); |
| 61 | + class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES; |
| 62 | + zend_class_implements(class_entry, 1, class_entry_Iterator); |
| 63 | + |
| 64 | + return class_entry; |
| 65 | +} |
| 66 | + |
| 67 | +zend_class_entry *register_class_ClosedGeneratorException(zend_class_entry *class_entry_Exception) |
| 68 | +{ |
| 69 | + zend_class_entry ce, *class_entry; |
| 70 | + |
| 71 | + INIT_CLASS_ENTRY(ce, "ClosedGeneratorException", class_ClosedGeneratorException_methods); |
| 72 | + class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception); |
| 73 | + |
| 74 | + return class_entry; |
| 75 | +} |
| 76 | + |
0 commit comments