Is it a good idea to have logic inside __constructor?
__constructor
public class someClass { public function __construct() { //some logic here }
So far I thought that it is fine; however, this reddit comment suggests the opposite.
Aucun commentaire:
Enregistrer un commentaire