<?php

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Collection;

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

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