| Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-amqp/Setup/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/module-amqp/Setup/Recurring.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Amqp\Setup;
use Magento\Framework\Amqp\TopologyInstaller;
use Magento\Framework\Setup\InstallSchemaInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
/**
* Class Recurring
*/
class Recurring implements InstallSchemaInterface
{
/**
* @var TopologyInstaller
*/
protected $topologyInstaller;
/**
* @param TopologyInstaller $topologyInstaller
*/
public function __construct(TopologyInstaller $topologyInstaller)
{
$this->topologyInstaller = $topologyInstaller;
}
/**
* {@inheritdoc}
*/
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
{
$this->topologyInstaller->install();
}
}