| Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-vault/Model/Ui/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/module-vault/Model/Ui/TokenUiComponent.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Vault\Model\Ui;
class TokenUiComponent implements TokenUiComponentInterface
{
/**
* @var array
*/
private $config;
/**
* @var string
*/
private $name;
/**
* @param array $config
* @param string $name
*/
public function __construct(
array $config,
$name
) {
$this->config = $config;
$this->name = $name;
}
/**
* Returns component configuration
*
* @return array
*/
public function getConfig()
{
return $this->config;
}
/**
* Returns component name
*
* @return string
*/
public function getName()
{
return $this->name;
}
}