Mikhail Alferov
1870b4c6aa
ReflectionFunctionAbstract::getClosureCalledClass() Improve description + CS ( #4074 )
...
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com >
2024-11-16 16:52:46 +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
Tim Düsterhus
e890e4a7f9
Document #[\Deprecated] attribute ( #3894 )
2024-10-22 15:12:44 +01:00
Tim Starling
ca840c9a6d
Reflection: fix some "undocumented" methods, and some other edits for consistency ( #2516 )
...
* If a method has a refpurpose, description, parameters and return
values, it's documented, there's no need for the warning box.
* Add description where there was none. It is usually very similar
to the refpurpose.
* Document ReflectionZendExtension::__construct(), and update
ReflectionExtension::__construct() for consistency.
* In ReflectionFunction::__toString()
* Remove some references to deprecated export() methods.
* Add example for ReflectionParameter::__toString().
2023-06-16 02:14:23 +01:00
Ollie Read
fadab82e11
Missing getAttributes documentation
...
Closes GH-1567.
2023-01-16 16:56:52 +01:00
Yoshinari Takaoka
519d86be33
fixed refpurpose of ReflectionFunctionAbstract::isStatic
2023-01-03 10:26:05 +09:00
Christoph M. Becker
170218df33
Fix GH-2136: ReflectionFunction has isStatic, but missing in docs
2023-01-02 17:35:15 +01:00
Máté Kocsis
ec2fe9a592
Update ext/reflection role attributes ( #1979 )
2022-12-11 20:53:33 +01: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
Kamil Tekiela
ab58951f68
Remove &warn.undocumented.func; from Reflection
...
Removed from all the places where it wasn't stricly necessary.
Closes GH-1217.
2022-03-29 16:49:06 +02:00
Yoshinari Takaoka
49eff29e8e
replaced class with method.
...
Because these classes are NOT originally `final` class in PHP 8.0.
https://github.com/php/php-src/blob/PHP-8.0/ext/reflection/php_reflection.stub.php
2021-12-03 00:51:27 +09:00
Sergey Panteleev
83b6431800
[PHP 8.1] Remove final modifier from __clone() ( #1131 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2021-12-02 15:16:08 +03:00
Máté Kocsis
b0b19b6618
Generate methodsynopses based on stubs for recent changes ( #903 )
2021-10-01 17:23:05 +02: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
Larry Garfield
fb5362c8b9
Reflection deprecation ( #578 )
...
* Clarify what a built-in type is.
* Add PHP 8 equivalent of ReflectionParameter::isArray().
* Leave note on ReflectionParameter::getClass() for what to use instead.
* Clarify order of the array in getParameters().
* Add example to aid working with union types.
* Add updated equivalent of isCallable().
2021-05-06 02:57:35 +02: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
e41806c30b
Revert revision(s) 351724 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753
Revert revision 351727 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
George Peter Banyard
cdaea04215
Remove mention of PHP 5 in Language Reference section
...
This does not cover the OOP nor Error sections, but everything else should be covered
Closes GH-156
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351112 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-31 19:13:58 +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
Kalle Sommer Nielsen
af8e8b6315
Updated ReflectionFunctionAbstract::isClosure with an example, improved some other text, and removed the "undocumented" blurb -- Patch by Jeremy Lindblom
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336079 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-17 04:13:27 +00:00
Adam Harvey
dacbac0ab2
Add isVariadic() method documentation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335240 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-03 01:11:28 +00:00
Jakub Vrana
24ec4b99df
Document new Reflection methods
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330252 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 21:25:05 +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
Jakub Vrana
8b7c673b80
Link funchand functions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321889 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 23:15:53 +00:00
Jakub Vrana
8c6d47907a
Improve Reflection
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321705 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-03 06:12:37 +00:00
Richard Quadling
3ca0df20f7
Class -> function. Fixes bug #55868
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317888 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-08 09:05:24 +00:00
Richard Quadling
8b6d169424
Native EOL
...
Use consistent line terminator.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317663 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 16:27:39 +00:00
Jakub Vrana
763ef8d4bb
New reflection methods
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312894 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-04 10:52:59 +00:00
Florian Anderiasch
ce8e8ecf30
changed return value from ReflectionParameter to array - fix #49631
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289098 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-02 20:46:50 +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