<?php

namespace KupShop\GraphQLBundle\ApiPos\Types\Collection;

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

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