Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kohana uses things like, $foo = Model::factory('Bar');

which does nothing more than

static function factory($model_name) { return new $model_name . '_Model'; }



Exactly, because of how its autoloader/class finder works.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: