|
1 | 1 | /* This is a generated file, edit the .stub.php file instead. |
2 | | - * Stub hash: 2564122a201ca462ee35ead1562c94da3ea3c8a3 */ |
| 2 | + * Stub hash: b70561858fb66134ce9596921215881fd9b946c0 */ |
3 | 3 |
|
4 | 4 | ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Reflection_getModifierNames, 0, 1, IS_ARRAY, 0) |
5 | 5 | ZEND_ARG_TYPE_INFO(0, modifiers, IS_LONG, 0) |
@@ -543,6 +543,8 @@ ZEND_END_ARG_INFO() |
543 | 543 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ReflectionAttribute_newInstance, 0, 0, IS_OBJECT, 0) |
544 | 544 | ZEND_END_ARG_INFO() |
545 | 545 |
|
| 546 | +#define arginfo_class_ReflectionAttribute___toString arginfo_class_ReflectionFunction___toString |
| 547 | + |
546 | 548 | #define arginfo_class_ReflectionAttribute___clone arginfo_class_ReflectionFunctionAbstract___clone |
547 | 549 |
|
548 | 550 | #define arginfo_class_ReflectionAttribute___construct arginfo_class_ReflectionReference___construct |
@@ -800,6 +802,7 @@ ZEND_METHOD(ReflectionAttribute, getTarget); |
800 | 802 | ZEND_METHOD(ReflectionAttribute, isRepeated); |
801 | 803 | ZEND_METHOD(ReflectionAttribute, getArguments); |
802 | 804 | ZEND_METHOD(ReflectionAttribute, newInstance); |
| 805 | +ZEND_METHOD(ReflectionAttribute, __toString); |
803 | 806 | ZEND_METHOD(ReflectionAttribute, __clone); |
804 | 807 | ZEND_METHOD(ReflectionAttribute, __construct); |
805 | 808 | ZEND_METHOD(ReflectionEnum, __construct); |
@@ -1130,6 +1133,7 @@ static const zend_function_entry class_ReflectionAttribute_methods[] = { |
1130 | 1133 | ZEND_ME(ReflectionAttribute, isRepeated, arginfo_class_ReflectionAttribute_isRepeated, ZEND_ACC_PUBLIC) |
1131 | 1134 | ZEND_ME(ReflectionAttribute, getArguments, arginfo_class_ReflectionAttribute_getArguments, ZEND_ACC_PUBLIC) |
1132 | 1135 | ZEND_ME(ReflectionAttribute, newInstance, arginfo_class_ReflectionAttribute_newInstance, ZEND_ACC_PUBLIC) |
| 1136 | + ZEND_ME(ReflectionAttribute, __toString, arginfo_class_ReflectionAttribute___toString, ZEND_ACC_PUBLIC) |
1133 | 1137 | ZEND_ME(ReflectionAttribute, __clone, arginfo_class_ReflectionAttribute___clone, ZEND_ACC_PRIVATE) |
1134 | 1138 | ZEND_ME(ReflectionAttribute, __construct, arginfo_class_ReflectionAttribute___construct, ZEND_ACC_PRIVATE) |
1135 | 1139 | ZEND_FE_END |
@@ -1435,13 +1439,14 @@ static zend_class_entry *register_class_ReflectionReference(void) |
1435 | 1439 | return class_entry; |
1436 | 1440 | } |
1437 | 1441 |
|
1438 | | -static zend_class_entry *register_class_ReflectionAttribute(void) |
| 1442 | +static zend_class_entry *register_class_ReflectionAttribute(zend_class_entry *class_entry_Reflector) |
1439 | 1443 | { |
1440 | 1444 | zend_class_entry ce, *class_entry; |
1441 | 1445 |
|
1442 | 1446 | INIT_CLASS_ENTRY(ce, "ReflectionAttribute", class_ReflectionAttribute_methods); |
1443 | 1447 | class_entry = zend_register_internal_class_ex(&ce, NULL); |
1444 | 1448 | class_entry->ce_flags |= ZEND_ACC_FINAL; |
| 1449 | + zend_class_implements(class_entry, 1, class_entry_Reflector); |
1445 | 1450 |
|
1446 | 1451 | return class_entry; |
1447 | 1452 | } |
|
0 commit comments