function __construct(\DB\Jig $db, $file) { $this->db = $db; $this->file = $file; $this->reset(); }
public function __construct() { $db = new \DB\Jig('data/'); parent::__construct($db, 'config.json'); $this->load(); }