Re: Getting a list of registered namespaces.
| From: | Lars Schultz | Date: | Thu, 16 Jun 2011 19:30:41 +0000 |
| Subject: | Re: Getting a list of registered namespaces. | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53344@lists.php.net to get a copy of this message | ||
Am 16.06.2011 20:12, schrieb Stas Malyshev:
Well, we could - you could actually do it right now with list of classes and some simple regexp-ing. The question is a value of it.I think get_declared_classes works as well, if you create a script that loads all your classes you could then extract all namespaces...(btw. I love the way the autoloader plays in concert with the /-Separator, thanks for that;)