Kim Hallberg
327a44719a
Fix 81385: ReflectionProperty::isPromoted() is missing from documentation
...
Closes GH-937.
2021-10-20 11:11:30 +02:00
Máté Kocsis
b0b19b6618
Generate methodsynopses based on stubs for recent changes ( #903 )
2021-10-01 17:23:05 +02:00
jrfnl
67a54da71f
ReflectionProperty: fix a few references to wrong class name(s)
...
These methods only exist on the `ReflectionProperty` class, not on `ReflectionClass`.
2021-07-02 13:38:11 +01: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
Christoph M. Becker
6f41560bf1
Fix #81065 : Changes to Reflection modifiers not documented
2021-05-23 14:46:27 +02:00
Yoshinari Takaoka
d3191e2f3c
replaced deprected warning with deprecated-removed one.
2021-05-02 14:18:03 +09:00
Sergey Panteleev
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 ( #548 )
2021-04-26 11:46:55 +03:00
Anna Filina
cc422ba8c7
Fix #55026 : Document access to protected/private members using reflection
...
Closes GH-325.
2021-01-12 12:57:40 +01:00
George Peter Banyard
a2afb71b63
Extend ReflectionProperty::hasDefaultValue() example
...
Closes GH-295.
2021-01-08 00:14:21 +01:00
Máté Kocsis
98df2cf9a9
Generate reflection methodsynopses based on stubs
...
We also document the new `$filter` parameter for the `ReflectionClass`
methods `::getConstants()` and `::getReflectionConstants()` and the
respective constants.
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-298.
2020-12-31 17:03:54 +01: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
41445b3d77
Mark up nullable types as union types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351076 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 10:47:17 +00:00
Christoph Michael Becker
a465b89916
Reflection*::export is deprecated as of PHP 7.4.0
...
Seems we're overdue actually documenting these methods.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350501 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-03 08:59: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
1c1b29f597
Fix #65011 : ReflectionProperty::getDocComment() fails for multiple variable declarations
...
We add an example to clarify the behavior.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345251 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-30 12:42:20 +00:00
Andrey Andreev
584095e7e8
Consistent description of getModifiers() in ReflectionClass, ReflectionMethod, ReflectionProperty
...
(relevant for the 'seealso' section on Reflection::getModifierNames())
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342105 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 09:28:54 +00:00
Thomas Punt
d640c0f5e1
Quick cleanup
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338414 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 20:13:41 +00:00
Thomas Punt
4d8bee3f1d
Finish documenting ReflectionProperty::getDocComment
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338413 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 20:03:57 +00:00
Christoph Michael Becker
d6d57b5f93
we can do better than in previous commit
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337486 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:32:55 +00:00
Christoph Michael Becker
5399e97fab
improved ReflectionProperty::isDefault() docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337485 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:29:14 +00:00
Christoph Michael Becker
878a454b06
The isDefault method for ReflectionProperty is unclear in the description. This patch aims to clarify the wording.
...
--
Provided by anonymous 61022 (james@asgrim.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337484 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:15:48 +00:00
Maciek Sokolewicz
68b5b97731
fixed various english grammar/spelling mistakes (patches by cmb)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336240 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 18:38:13 +00:00
Peter Cowburn
d384c3f8e2
"See also" List extended to easily find the methods for other visibilities and static
...
--
Provided by anonymous 46594
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334176 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-07 12:27:00 +00:00
Joe Watkins
4d70c2f850
#65241 correction to params in manual
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331666 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-04 17:07:53 +00:00
Sebastian Bergmann
656d1610af
Add missing modifier information. Patch by Jeff Welch <whatthejeff@gmail.com>.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330543 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-18 05:36:30 +00:00
Jakub Vrana
fcddfb2551
Link directly to magic methods
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322136 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:01:15 +00:00
Richard Quadling
a56106f691
Standardized on double quotes for attributes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317502 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-30 14:21:51 +00:00
Peter Cowburn
c0575c87fb
typofix
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313130 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-11 11:10:09 +00:00
Nikita Popov
4ce64bd3ca
Add some Reflection docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313064 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-08 13:03:35 +00:00
Jakub Vrana
4ad81a88ea
Fix proto (doc bug #53937 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308178 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 11:26:52 +00:00
Torben Wilson
af4410a7e1
Normalized the sgml-default-dtd-file local-variable line for those
...
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Philip Olson
6c18ab3fe2
- Rewrote the reflection documentation as a book, and removed it from the OOP 5 section
...
- Many parts are still considered undocumented -- feel free to edit
- Some content stolen from here:
--- http://svn.php.net/viewvc/phpdoc/en/trunk/language/oop5/reflection.xml?revision=283798&view=markup
--- http://svn.php.net/viewvc/php/php-src/trunk/ext/reflection/tests/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287332 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-15 14:39:48 +00:00