| Current Path : /home/rtorresani/www/vendor/magento/framework/GraphQl/Config/Element/ |
| Current File : //home/rtorresani/www/vendor/magento/framework/GraphQl/Config/Element/UnionInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Framework\GraphQl\Config\Element;
use Magento\Framework\GraphQl\Config\ConfigElementInterface;
/**
* Defines the contract for the union configuration data type.
*
* @api
*/
interface UnionInterface extends ConfigElementInterface
{
/**
* Get a list of fields that make up the possible return or input values of a type.
*
* @return Type[]
*/
public function getTypes(): array;
}