Most voted "static" questions
51 questions
Sort by count of
-
-1
votes2
answers56
viewsHelp with $this and self in php
abstract class BaseModel { public function find($params){ $table = $this->$table; //... } } class User extends BaseModel { protected $table = "users"; } if I do: $u = new User(); $u->find([]);…