1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

65 Commits

Author SHA1 Message Date
Tim Düsterhus
30eb91e639 Update deprecation information in versions.xml 2025-10-04 16:21:06 +02:00
Tim Düsterhus
b5f0495b9e ReflectionParameter: Add missing deprecated attribute to versions.xml 2025-07-27 11:49:03 +02:00
Luffy
b7b1d4b562 Fix missing propertyhooktype version info (#4603) 2025-04-14 13:17:44 +08:00
Larry Garfield
e0e74c05cb Hooks reflection (#4110)
* Add reflection stubs for property hooks

* Document getHook().

* Document hasHook()

* Document getSettableType()

* Document getHooks()

* Document hasHooks()

* Document isFinal()

* Document isPrivateSet() and isProtectedSet()

* Document setRawValue()

* Document getRawValue()

* Document isVirtual()

* Document PropertyHookType.

* Document isAbstract()

---------

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2025-02-21 19:16:44 +00:00
Tim Düsterhus
f8fc16dc33 reflection: Add ReflectionProperty::isDynamic() to versions.xml
see php/doc-en#4292
2025-02-09 16:48:31 +01:00
Gina Peter Banyard
c477749c82 PHP 8.4: Add ReflectionConstant stubs (#4040)
Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
2024-12-03 16:16:27 +00:00
Gina Peter Banyard
348789adde Document ReflectionFunctionAbstract::getClosureCalledClass() (#4043)
And improve documentation for related methods.

Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
2024-11-13 16:58:38 +00:00
Gina Peter Banyard
8660511c74 Document ReflectionClassConstant::(get|has)Type() 2024-11-12 17:35:37 +00:00
Gina Peter Banyard
13b858f444 Document ReflectionParameter::isPromoted() 2024-11-12 17:35:37 +00:00
Tim Düsterhus
7de265dc47 Document ReflectionClassConstant::isDeprecated() (#3895) 2024-11-12 14:25:41 +00:00
Arnaud Le Blanc
c0fa5077c8 Document lazy objects (#3975) 2024-11-04 14:37:18 +00:00
Tim Düsterhus
84883b6030 Document ReflectionGenerator::isClosed() (#3896) 2024-10-22 15:27:50 +01:00
Sergey Panteleev
5b57360795 [PHP 8.3] ReflectionMethod::createFromMethodName (#2927) 2023-11-07 21:41:23 +00:00
Máté Kocsis
4658c8e6ce Document the __toString() and export() related changes in ext/reflection (#2170) 2023-01-12 15:41:16 +01:00
Christoph M. Becker
170218df33 Fix GH-2136: ReflectionFunction has isStatic, but missing in docs 2023-01-02 17:35:15 +01:00
Yoshinari Takaoka
a4f0588234 added ReflectionClass::isReadOnly documentation. (#2006)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-11-14 22:53:43 +09:00
Sergey Panteleev
ee2e49869d [PHP 8.2] Add ReflectionFunction::isAnonymous and ReflectionMethod::hasPrototype methods (#1742)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-09-26 10:54:40 +01:00
Christoph M. Becker
4695130681 Fix GH-1709: ReflectionClassConstant::isEnumCase() is not documented 2022-07-29 17:36:25 +02:00
Sergey Panteleev
38f5bb6cc0 [PHP 8.1] Add get/hasTentativeReturnType functions (#1615)
Closes #1614

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-06-06 16:07:48 +03:00
Sergey Panteleev
ed8eead5c4 [PHP 8.1] Add ReflectionFunctionAbstract::getClosureUsedVariables (#1032)
Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
2022-04-28 09:58:00 +03:00
the-toster
a416cd2c01 ReflectionClass::isEnum method (#1390) 2022-02-14 13:58:13 -06:00
Aaron Piotrowski
1f7a0e4af8 Fiber documentation
Co-authored-by: George Peter Banyard <girgias@php.net>
Co-authored-by: Sergey Panteleev <sergey@php.net>
Co-authored-by: Fabien Villepinte <fabien.villepinte@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1096.
2021-12-02 16:11:55 +01:00
Máté Kocsis
00b3ebfa68 Generate ext/reflection class synopses from stubs - part 3
Closes GH-1138.
2021-12-02 13:07:26 +01:00
Yoshinari Takaoka
5d1673b7a0 [PHP 8.1] Document final class constants. (#1041)
* Document final class constant.

* use singular form.

* Update language/oop5/constants.xml

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>

* Update language/oop5/constants.xml

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
2021-11-29 15:06:49 -06:00
Yoshinari Takaoka
d73c3dcbd6 [PHP 8.1] Document readonly properties. (#1047)
* [PHP 8.1] Document readonly properties.

* added ReflectionProperty::isReadOnly method.

* Apply suggestions from code review

Co-authored-by: Sergey Panteleev <sergey@php.net>

* Update language/oop5/properties.xml

Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>

* Update language/oop5/properties.xml

Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>

* added link to readonly-properties docs.

Co-authored-by: Sergey Panteleev <sergey@php.net>
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
2021-11-27 13:00:13 -06:00
Larry Garfield
9fe8103520 Document enumerations
Co-authored-by: Yoshinari Takaoka <mumumu@mumumu.org>
Co-authored-by: Sergey Panteleev <sergey@php.net>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-960.
2021-10-29 01:14:57 +02:00
Kim Hallberg
327a44719a Fix 81385: ReflectionProperty::isPromoted() is missing from documentation
Closes GH-937.
2021-10-20 11:11:30 +02:00
Sergey Panteleev
9ddb781270 [PHP 8.1] Add ReflectionIntersectionType description (#1027) 2021-10-19 07:42:27 +03:00
Yoshinari Takaoka
969080b592 Added ReflectionAttribute related Documentation. (#588)
* Added ReflectionAttribute related Documentation.

* Update reference/reflection/reflectionattribute/isrepeated.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionattribute/isrepeated.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionattribute/newinstance.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionattribute/newinstance.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionclass/getattributes.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionclassconstant/getattributes.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionfunctionabstract/getattributes.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionparameter/getattributes.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

* Update reference/reflection/reflectionproperty/getattributes.xml

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>

Co-authored-by: Benjamin Eberlei <kontakt@beberlei.de>
2021-06-04 20:20:42 +09:00
Yoshinari Takaoka
2cf7e8823c added missing [deprecated|removed] info of reflector class. 2021-05-02 14:13:57 +09:00
Yoshinari Takaoka
202724dcac Added PHP 8 into versions.xml for reflection based on stubs. 2021-04-30 16:49:54 +01:00
Christoph Michael Becker
c40f07c937 Fix #80247: ReflectionType does not have an isBuiltin() method
Closes GH-273.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352224 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 23:23:02 +00:00
Christoph Michael Becker
d960106581 Document ReflectionProperty::getDefaultValue and ::hasDefaultValue
Patch provided by Benjamin Eberlei <kontakt@beberlei.de>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351090 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 16:38:02 +00:00
Christoph Michael Becker
3a3b3279ef Fix #79593: Manual page missing for class ReflectionReference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349867 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 19:41:26 +00:00
Christoph Michael Becker
c4c885db2f Fix #78936: Reflection methods for typed properties not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348478 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-09 15:22:24 +00:00
Christoph Michael Becker
e309892680 Add version info for ReflectionNamedType
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346834 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-14 22:01:36 +00:00
Jakub Vrana
578a13198f Update versions based on parsing sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344132 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 12:27:12 +00:00
Jakub Vrana
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
99680c836a Unify version format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344064 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:06:46 +00:00
Jakub Vrana
32c63651ff Unify version format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344063 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:05:04 +00:00
Jakub Vrana
3e9734391f Add new functions to versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344041 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 13:39:15 +00:00
Christoph Michael Becker
b9722ce216 Fix ReflectionFunctionAbstract version requirements
Patch originally provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342893 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:19:59 +00:00
Christoph Michael Becker
cf616ef1f0 Fix bug #74261: ReflectionClassConstant not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342886 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-20 14:40:15 +00:00
Peter Cowburn
23eb1bd4e5 ReflectionClass::isAnonymous() came in PHP 7.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338438 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 16:31:23 +00:00
Thomas Punt
102a7f2b5e Resolve doc bug #71279
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338410 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 19:01:14 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Thomas Punt
f581e88c2a Document ReflectionGenerator class and methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337576 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-21 16:06:31 +00:00
Thomas Punt
4c106204a1 Document ReflectionFunctionAbstract::getReturnType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337567 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 14:24:18 +00:00
Thomas Punt
e9f4e006a1 Document ReflectionFunctionAbstract::hasReturnType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337566 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 14:06:46 +00:00
Thomas Punt
a8b62d0b29 Document ReflectionParameter::getType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337564 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 13:26:51 +00:00