[Coding Standards] Class-to-file convention
| From: | Paul M Jones | Date: | Mon, 09 Jul 2007 20:44:22 +0000 |
| Subject: | [Coding Standards] Class-to-file convention | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-47327@lists.php.net to get a copy of this message | ||
The section titled "Class to file convention" states:
Class-to-file convention All public classes must be in their own file with underscores replaced by directory separator, so that PEAR2_PackageName_Base class is always located in PEAR2/PackageName/Base.php (this is required to make autoload always work) Requirement Exceptions maybe made to this rule with approval from the PEAR GroupAllowing for personal exceptions to a fundamental rule like this seems out of place to me; appeals to the Group should be available for any/all the standards, or for none of them. I would say "no exceptions" to this rule. -- Paul M. Jones <http://paul-m-jones.com> Solar: Simple Object Library and Application Repository for PHP5. <http://solarphp.com> Join the Solar community wiki! <http://solarphp.org> Savant: The simple, elegant, and powerful solution for templates in PHP. <http://phpsavant.com>