<?php

declare(strict_types=1);

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Collection;

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

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