Vorresti dire che si può anche fare:
è meglio con extends o una "doppia aggregazione"???Codice PHP:
class mah extends class {
function mah(&$db, $valore) {
$this->db = $db;
}
ect ect ect
Vorresti dire che si può anche fare:
è meglio con extends o una "doppia aggregazione"???Codice PHP:
class mah extends class {
function mah(&$db, $valore) {
$this->db = $db;
}
ect ect ect
Questa volta, più che un voto.. è favoreggiamento.