|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-04 12:29 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
Description: ------------ Hi, I have a feature request for PHP classes. When I built a large system with many classes, I have to instantiate each one of them. As a result I came to think that there could be a new procedure for classes called "packages" for example; package MyPackage { class Foo { function Bar { } // end function Bar } // end class Foo class AnotherFoo { function AnotherBar { } // end function AnotherBar } // end class AnotherFoo } // end Package Basically packages capsulate classes just like classes capsulate functions. Thanks for your time Dogu Can Otag