/** * Очистить БД с кэшем */ public function clean() { return $this->cache->removeAll(); }
public function createTables() { $cache = new DataBase\Cache($this->pdo, $this->pdoTablePrefix); $cache->createTable(); $order = new DataBase\Order($this->pdo, $this->pdoTablePrefix); $order->createTable(); }