<?php
/**
 * Copyright (C) Baluart.COM - All Rights Reserved
 *
 * @since 1.0
 * @author Baluart E.I.R.L.
 * @copyright Copyright (c) 2015 - 2023 Baluart E.I.R.L.
 * @license http://codecanyon.net/licenses/faq Envato marketplace licenses
 * @link https://easyforms.dev/ Easy Forms
 */

namespace app\components\analytics\modeler;

use Yii;

/**
 * Class Modeler
 * At the end of the data modeling,
 * a clean set of tables are available which make it easier to perform analysis on the data.
 *
 * @package app\components\analytics\modeler
 */
class Modeler
{

    /**
     * Execute SQL statements
     */
    public function run()
    {
        if (Yii::$app->db->driverName === "mysql") {
            $commands = new MySQLCommands();
            $commands->execute();
        }
    }
}
