Re: Will pear have its own namespace?
| From: | Dmitri | Date: | Tue, 11 Jan 2011 23:13:32 +0000 |
| Subject: | Re: Will pear have its own namespace? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53976@lists.php.net to get a copy of this message | ||
Brett Bieber wrote:
On Tue, Jan 11, 2011 at 5:03 PM, Dmitri<message@ptd.net> wrote:Is it OK if I add namespace to copy of some pear classes in my project? I use 4 pear classes in my own open source project, but I really prefer to use namespaces for every class. Am I allowed to to slightly modify pear classes like adding namespaces and replacing the old style pear error with my own exceptions?Hello! Just wondering, will pear classes even have their own namespace? For example, the root namespace Pear and then package specific one like Pear\Mail I think it's about time something like this have happened.The PEAR2 standards require the vendor namespace of PEAR2. For backwards compatibility, this will probably not be added to the existing PEAR packages. http://pear2.php.net/ Thank you.