<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\Framework\Setup\SchemaListenerHandlers;

/**
 * Here we will put schema listener handlers.
 *
 * @api
 */
interface SchemaListenerHandlerInterface
{
    /**
     * Handle schema changes.
     *
     * @param string $moduleName
     * @param array $tables
     * @param array $params Params consist data as old_column_name, new_column_name, table_name, etc
     * @param array $definition
     * @return mixed
     */
    public function handle($moduleName, $tables, array $params, $definition);
}
