How can I create my own ORM with PHP design patterns? For example I have below classes:
class User{
public function insert(){
//something
}
}
class Article{
public function insert(){
//something
}
}
class DataBase{
public function connection(){
//something
}
}
Aucun commentaire:
Enregistrer un commentaire