<?php declare(strict_types=1);
namespace MoorlCreator\Core\Content\Creator;
use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
/**
* @method void add(CreatorEntity $entity)
* @method void set(string $key, CreatorEntity $entity)
* @method CreatorEntity[] getIterator()
* @method CreatorEntity[] getElements()
* @method CreatorEntity|null get(string $key)
* @method CreatorEntity|null first()
* @method CreatorEntity|null last()
*/
class CreatorCollection extends EntityCollection
{
public function getApiAlias(): string
{
return 'moorl_creator_collection';
}
protected function getExpectedClass(): string
{
return CreatorEntity::class;
}
}