<?php

declare(strict_types=1);

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Collection;

use KupShop\GraphQLBundle\ApiShared\Types\Collection\CollectionBase;
use KupShop\GraphQLBundle\ApiShared\Types\Parameter\Parameter;
use TheCodingMachine\GraphQLite\Annotations\Field;
use TheCodingMachine\GraphQLite\Annotations\Type;

/**
 * @Type()
 */
class ParameterCollection extends CollectionBase
{
    /**
     * @Field()
     *
     * @return Parameter[]
     */
    public function getItems(): array
    {
        return $this->items;
    }
}
