1<?php
2
3namespace FYKOS\dokuwiki\Extension\PluginNewsFeed\Model;
4
5use helper_plugin_sqlite;
6
7/**
8 * Class AbstractModel
9 * @author Michal Červeňák <miso@fykos.cz>
10 */
11abstract class AbstractModel {
12
13    protected helper_plugin_sqlite $sqlite;
14
15    public function __construct(helper_plugin_sqlite $sqlite) {
16        $this->sqlite = $sqlite;
17    }
18
19    abstract public static function createFromArray(\helper_plugin_sqlite $helperPluginSqlite, array $data): self;
20}
21