From a125a726ad4ecf9af36cbdfca835750456bf445d Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Mon, 11 Nov 2024 14:43:11 +0000 Subject: [PATCH 1/2] PHP 8.4: Add ReflectionConstant stubs --- reference/reflection/book.xml | 1 + reference/reflection/reflectionconstant.xml | 95 +++++++++++++ .../reflectionconstant/construct.xml | 127 ++++++++++++++++++ .../reflectionconstant/getextension.xml | 122 +++++++++++++++++ .../reflectionconstant/getextensionname.xml | 122 +++++++++++++++++ .../reflectionconstant/getfilename.xml | 122 +++++++++++++++++ .../reflection/reflectionconstant/getname.xml | 122 +++++++++++++++++ .../reflectionconstant/getnamespacename.xml | 122 +++++++++++++++++ .../reflectionconstant/getshortname.xml | 122 +++++++++++++++++ .../reflectionconstant/getvalue.xml | 122 +++++++++++++++++ .../reflectionconstant/isdeprecated.xml | 122 +++++++++++++++++ .../reflectionconstant/tostring.xml | 122 +++++++++++++++++ reference/reflection/versions.xml | 12 ++ 13 files changed, 1333 insertions(+) create mode 100644 reference/reflection/reflectionconstant.xml create mode 100644 reference/reflection/reflectionconstant/construct.xml create mode 100644 reference/reflection/reflectionconstant/getextension.xml create mode 100644 reference/reflection/reflectionconstant/getextensionname.xml create mode 100644 reference/reflection/reflectionconstant/getfilename.xml create mode 100644 reference/reflection/reflectionconstant/getname.xml create mode 100644 reference/reflection/reflectionconstant/getnamespacename.xml create mode 100644 reference/reflection/reflectionconstant/getshortname.xml create mode 100644 reference/reflection/reflectionconstant/getvalue.xml create mode 100644 reference/reflection/reflectionconstant/isdeprecated.xml create mode 100644 reference/reflection/reflectionconstant/tostring.xml diff --git a/reference/reflection/book.xml b/reference/reflection/book.xml index bd371343a58a..859b14788231 100644 --- a/reference/reflection/book.xml +++ b/reference/reflection/book.xml @@ -28,6 +28,7 @@ &reference.reflection.reflection; &reference.reflection.reflectionclass; &reference.reflection.reflectionclassconstant; + &reference.reflection.reflectionconstant; &reference.reflection.reflectionenum; &reference.reflection.reflectionenumunitcase; &reference.reflection.reflectionenumbackedcase; diff --git a/reference/reflection/reflectionconstant.xml b/reference/reflection/reflectionconstant.xml new file mode 100644 index 000000000000..3960d06f3ab0 --- /dev/null +++ b/reference/reflection/reflectionconstant.xml @@ -0,0 +1,95 @@ + + + The ReflectionConstant class + ReflectionConstant + + + +
+ &reftitle.intro; + + The ReflectionConstant class reports + information about a global constant. + +
+ + +
+ &reftitle.classsynopsis; + + + + final + ReflectionConstant + + + + implements + Reflector + + + &Properties; + + public + string + name + + + &Methods; + + + + + + + + +
+ +
+ &reftitle.properties; + + + name + + + Name of the constant. Read-only, throws + ReflectionException in attempt to write. + + + + +
+ +
+ &reftitle.seealso; + + ReflectionClassConstant + +
+ +
+ + &reference.reflection.entities.reflectionconstant; + +
+ diff --git a/reference/reflection/reflectionconstant/construct.xml b/reference/reflection/reflectionconstant/construct.xml new file mode 100644 index 000000000000..5b33d52314c8 --- /dev/null +++ b/reference/reflection/reflectionconstant/construct.xml @@ -0,0 +1,127 @@ + + + + ReflectionConstant::__construct + Description + + + + &reftitle.description; + + public ReflectionConstant::__construct + stringname + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + name + + + Description. + + + + + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::__construct</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/getextension.xml b/reference/reflection/reflectionconstant/getextension.xml new file mode 100644 index 000000000000..9000147695a6 --- /dev/null +++ b/reference/reflection/reflectionconstant/getextension.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::getExtension + Description + + + + &reftitle.description; + + public ReflectionExtensionnullReflectionConstant::getExtension + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::getExtension</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/getextensionname.xml b/reference/reflection/reflectionconstant/getextensionname.xml new file mode 100644 index 000000000000..8ebfcb78b818 --- /dev/null +++ b/reference/reflection/reflectionconstant/getextensionname.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::getExtensionName + Description + + + + &reftitle.description; + + public stringfalseReflectionConstant::getExtensionName + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::getExtensionName</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/getfilename.xml b/reference/reflection/reflectionconstant/getfilename.xml new file mode 100644 index 000000000000..6d2523afcc2d --- /dev/null +++ b/reference/reflection/reflectionconstant/getfilename.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::getFileName + Description + + + + &reftitle.description; + + public stringfalseReflectionConstant::getFileName + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::getFileName</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/getname.xml b/reference/reflection/reflectionconstant/getname.xml new file mode 100644 index 000000000000..c96c44212f2a --- /dev/null +++ b/reference/reflection/reflectionconstant/getname.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::getName + Description + + + + &reftitle.description; + + public stringReflectionConstant::getName + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::getName</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/getnamespacename.xml b/reference/reflection/reflectionconstant/getnamespacename.xml new file mode 100644 index 000000000000..b744d33378e3 --- /dev/null +++ b/reference/reflection/reflectionconstant/getnamespacename.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::getNamespaceName + Description + + + + &reftitle.description; + + public stringReflectionConstant::getNamespaceName + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::getNamespaceName</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/getshortname.xml b/reference/reflection/reflectionconstant/getshortname.xml new file mode 100644 index 000000000000..7a052b2c3fc9 --- /dev/null +++ b/reference/reflection/reflectionconstant/getshortname.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::getShortName + Description + + + + &reftitle.description; + + public stringReflectionConstant::getShortName + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::getShortName</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/getvalue.xml b/reference/reflection/reflectionconstant/getvalue.xml new file mode 100644 index 000000000000..ff51c20b688f --- /dev/null +++ b/reference/reflection/reflectionconstant/getvalue.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::getValue + Description + + + + &reftitle.description; + + public mixedReflectionConstant::getValue + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::getValue</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/isdeprecated.xml b/reference/reflection/reflectionconstant/isdeprecated.xml new file mode 100644 index 000000000000..0acd57ce2cc6 --- /dev/null +++ b/reference/reflection/reflectionconstant/isdeprecated.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::isDeprecated + Description + + + + &reftitle.description; + + public boolReflectionConstant::isDeprecated + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::isDeprecated</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/reflectionconstant/tostring.xml b/reference/reflection/reflectionconstant/tostring.xml new file mode 100644 index 000000000000..5afbecc538a6 --- /dev/null +++ b/reference/reflection/reflectionconstant/tostring.xml @@ -0,0 +1,122 @@ + + + + ReflectionConstant::__toString + Description + + + + &reftitle.description; + + public stringReflectionConstant::__toString + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>ReflectionConstant::__toString</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.notes; + + + Any notes that don't fit anywhere else should go here. + + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/reflection/versions.xml b/reference/reflection/versions.xml index 560fe9b78833..98dc4e5fe713 100644 --- a/reference/reflection/versions.xml +++ b/reference/reflection/versions.xml @@ -287,6 +287,18 @@ + + + + + + + + + + + + From 79b8e24080abd6d4adaa9cf7f6224a66d4aca897 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Mon, 11 Nov 2024 14:49:12 +0000 Subject: [PATCH 2/2] Turns out those are in 8.5 --- reference/reflection/versions.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/reflection/versions.xml b/reference/reflection/versions.xml index 98dc4e5fe713..08e5b7c0796d 100644 --- a/reference/reflection/versions.xml +++ b/reference/reflection/versions.xml @@ -290,8 +290,8 @@ - - + +