%PDF- %PDF-
Direktori : /data/www_bck/varak.net_bck/warhammer.varak.net/app/model/ |
Current File : //data/www_bck/varak.net_bck/warhammer.varak.net/app/model/BaseModel.php |
<?php /** * Created by PhpStorm. * User: waritko * Date: 9. 8. 2018 * Time: 20:15 */ namespace App\Model; use Nette\Database\Context; abstract class BaseModel { protected $database; public function __construct(Context $database) { $this->database = $database; $this->onCreate(); } protected function onCreate() { // Default is empty so no implementation is necessary } }