yii\console\controllers\MigrateController::generateTableName PHP Method

generateTableName() protected method

If useTablePrefix equals true, then the table name will contain the prefix format.
Since: 2.0.8
protected generateTableName ( string $tableName ) : string
$tableName string the table name to generate.
return string
    protected function generateTableName($tableName)
    {
        if (!$this->useTablePrefix) {
            return $tableName;
        }
        return '{{%' . $tableName . '}}';
    }