mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
Fix Reflection_Class to ReflectionClass in docu/messages
This commit is contained in:
parent
920b706142
commit
9291a7fa98
@ -2685,7 +2685,7 @@ ZEND_METHOD(reflection_class, getParentClass)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public bool ReflectionClass::isSubclassOf(string|reflection_class class)
|
||||
/* {{{ proto public bool ReflectionClass::isSubclassOf(string|ReflectionClass class)
|
||||
Returns whether this class is a subclass of another class */
|
||||
ZEND_METHOD(reflection_class, isSubclassOf)
|
||||
{
|
||||
@ -2722,7 +2722,7 @@ ZEND_METHOD(reflection_class, isSubclassOf)
|
||||
/* no break */
|
||||
default:
|
||||
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
|
||||
"Parameter one must either be a string or a Reflection_Class object");
|
||||
"Parameter one must either be a string or a ReflectionClass object");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2731,7 +2731,7 @@ ZEND_METHOD(reflection_class, isSubclassOf)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public bool ReflectionClass::implementsInterface(string|reflection_class interface_name)
|
||||
/* {{{ proto public bool ReflectionClass::implementsInterface(string|ReflectionClass interface_name)
|
||||
Returns whether this class is a subclass of another class */
|
||||
ZEND_METHOD(reflection_class, implementsInterface)
|
||||
{
|
||||
@ -2768,7 +2768,7 @@ ZEND_METHOD(reflection_class, implementsInterface)
|
||||
/* no break */
|
||||
default:
|
||||
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
|
||||
"Parameter one must either be a string or a Reflection_Class object");
|
||||
"Parameter one must either be a string or a ReflectionClass object");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2795,7 +2795,7 @@ ZEND_METHOD(reflection_class, isIterateable)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public ReflectionExtension|NULL Reflection_Class::getExtension()
|
||||
/* {{{ proto public ReflectionExtension|NULL ReflectionClass::getExtension()
|
||||
Returns NULL or the extension the class belongs to */
|
||||
ZEND_METHOD(reflection_class, getExtension)
|
||||
{
|
||||
@ -3347,7 +3347,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public ReflectionClass[] ReflectionExtension::getClasses()
|
||||
Returns an array containing Reflection_Class objects for all classes of this extension */
|
||||
Returns an array containing ReflectionClass objects for all classes of this extension */
|
||||
ZEND_METHOD(reflection_extension, getClasses)
|
||||
{
|
||||
reflection_object *intern;
|
||||
|
@ -2685,7 +2685,7 @@ ZEND_METHOD(reflection_class, getParentClass)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public bool ReflectionClass::isSubclassOf(string|reflection_class class)
|
||||
/* {{{ proto public bool ReflectionClass::isSubclassOf(string|ReflectionClass class)
|
||||
Returns whether this class is a subclass of another class */
|
||||
ZEND_METHOD(reflection_class, isSubclassOf)
|
||||
{
|
||||
@ -2722,7 +2722,7 @@ ZEND_METHOD(reflection_class, isSubclassOf)
|
||||
/* no break */
|
||||
default:
|
||||
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
|
||||
"Parameter one must either be a string or a Reflection_Class object");
|
||||
"Parameter one must either be a string or a ReflectionClass object");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2731,7 +2731,7 @@ ZEND_METHOD(reflection_class, isSubclassOf)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public bool ReflectionClass::implementsInterface(string|reflection_class interface_name)
|
||||
/* {{{ proto public bool ReflectionClass::implementsInterface(string|ReflectionClass interface_name)
|
||||
Returns whether this class is a subclass of another class */
|
||||
ZEND_METHOD(reflection_class, implementsInterface)
|
||||
{
|
||||
@ -2768,7 +2768,7 @@ ZEND_METHOD(reflection_class, implementsInterface)
|
||||
/* no break */
|
||||
default:
|
||||
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
|
||||
"Parameter one must either be a string or a Reflection_Class object");
|
||||
"Parameter one must either be a string or a ReflectionClass object");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2795,7 +2795,7 @@ ZEND_METHOD(reflection_class, isIterateable)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public ReflectionExtension|NULL Reflection_Class::getExtension()
|
||||
/* {{{ proto public ReflectionExtension|NULL ReflectionClass::getExtension()
|
||||
Returns NULL or the extension the class belongs to */
|
||||
ZEND_METHOD(reflection_class, getExtension)
|
||||
{
|
||||
@ -3347,7 +3347,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto public ReflectionClass[] ReflectionExtension::getClasses()
|
||||
Returns an array containing Reflection_Class objects for all classes of this extension */
|
||||
Returns an array containing ReflectionClass objects for all classes of this extension */
|
||||
ZEND_METHOD(reflection_extension, getClasses)
|
||||
{
|
||||
reflection_object *intern;
|
||||
|
Loading…
Reference in New Issue
Block a user