Doc #78707 [Com]: ReflectionClass::implementsInterface - incomplete documentation
| From: | camporter1 at gmail dot com | Date: | Mon, 04 Nov 2019 22:48:47 +0000 |
| Subject: | Doc #78707 [Com]: ReflectionClass::implementsInterface - incomplete documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17039@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78707&edit=1
ID: 78707
Comment by: camporter1 at gmail dot com
Reported by: fabien dot villepinte at gmail dot com
Summary: ReflectionClass::implementsInterface - incomplete
documentation
Status: Open
Type: Documentation Problem
Package: Reflection related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Sent a docbook patch to add these clarifications: https://edit.php.net/?patchID=3449&project=PHP
Previous Comments:
------------------------------------------------------------------------
[2019-10-21 07:42:52] fabien dot villepinte at gmail dot com
Description:
------------
Two elements are missing from the documentation of ReflectionClass::implementsInterface():
- the $interface parameter may also be a ReflectionClass instance
- the method throws a ReflectionException $interface is not an interface
See: https://www.php.net/manual/en/reflectionclass.implementsinterface.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78707&edit=1