Edit report at https://bugs.php.net/bug.php?id=66631&edit=1

 ID:                 66631
 Updated by:         [email protected]
 Reported by:        matti dot jarvinen at nitroid dot fi
 Summary:            Visual representation of class hierarchies.
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
 Package:            Website problem
-PHP Version:        5.5.8
+PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        levim
 Block user comment: N
 Private report:     N

 New Comment:

You can view the SPL Exception hierarchy here: 
http://php.net/manual/en/spl.exceptions.php#spl.exceptions.tree

As for a general solution: I'm going to decline it. You can view the parents of 
a class which is generally the most useful. Adding child information to the 
parents' page would be a lot of work that I don't think is worth it.


Previous Comments:
------------------------------------------------------------------------
[2014-02-03 08:16:18] matti dot jarvinen at nitroid dot fi

Description:
------------
I believe class inheritance diagrams would be beneficial in helping people to 
understand relations of some of the internal classes and interfaces and also 
would promote better use of exceptions through understanding.

Currently some classes like BadFunctionCallException don't list their 
descendants at all.

SPL documentation that was originally in ~helly/php/ext/spl/ had a great way of 
explaining class inheritance through clickable diagrams. I believe those were 
made with dot and doxygen.

Found an SPL documentation example from
http://fossies.org/dox/php-5.2.17/classException.html

Feature could be used at least in:
 DateTimeInterface -> DateTime, DateTimeImmutable,
 Exceptions and SPL Exceptions...




------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=66631&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to