note 60206 deleted from language.oop5.autoload by crell
| From: | crell@php.net | Date: | Mon, 04 Apr 2022 16:13:44 +0000 |
| Subject: | note 60206 deleted from language.oop5.autoload by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218037@lists.php.net to get a copy of this message | ||
Note Submitter: dave60 /at/ gmail /dot/ com
----
In reply to quetzalcoatl:
Generally, I would advise for each class to have it's own file, and hold nothing besides that
class. Just define __autoload() in a/the infrastructure file -- a/the file that does the behavioral
logic, and there should be no need to redefine it in a class' file.