Your IP : 216.73.216.220


Current Path : /home/rtorresani/www/vendor/magento/composer-root-update-plugin/Plugin/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/composer-root-update-plugin/Plugin/CommandProvider.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

namespace Magento\ComposerRootUpdatePlugin\Plugin;

use Composer\Plugin\Capability\CommandProvider as CommandProviderCapability;
use Magento\ComposerRootUpdatePlugin\Plugin\Commands\OverrideRequireCommand;
use Magento\ComposerRootUpdatePlugin\Plugin\Commands\RequireCommerceCommand;
use Magento\ComposerRootUpdatePlugin\Plugin\Commands\UpdatePluginNamespaceCommands;

/**
 * Composer boilerplate to supply the plugin's commands to the command registry
 */
class CommandProvider implements CommandProviderCapability
{
    /**
     * @inheritdoc
     */
    public function getCommands()
    {
        return [
            new OverrideRequireCommand(),
            new RequireCommerceCommand()
        ];
    }
}