RE: [PEAR-DEV] PEAR2 package naming standards (namespace usage)
| From: | Baptiste Autin | Date: | Wed, 27 Aug 2008 22:23:51 +0000 |
| Subject: | RE: [PEAR-DEV] PEAR2 package naming standards (namespace usage) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-50664@lists.php.net to get a copy of this message | ||
With the current proposal I *cannot* do this, because, if I understand
>correctly namespaces would be:
>
>pear2::<package>::<Class>
>pear2::<package_subpackage>::<Class>
Joshua told me that I was allowed to have a class like:
pear2::php_uml::xmi::Builder.php
So I guess it means that you can have, like you need:
pear2::<package>::<subpackage>::<Class>
(stored into pear2/package/subpackage/Class.php)
And why not:
pear2::<package>::<subpackage1>::<subpackage2>::<Class>
(stored into pear2/package/subpackage1/subpackage2/Class.php)
Baptiste