SuperSeller3000/src/Domain/Channel/Repository/PlatformRepositoryInterface.php

21 lines
418 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace App\Domain\Channel\Repository;
use App\Domain\Channel\Platform;
use Symfony\Component\Uid\Uuid;
interface PlatformRepositoryInterface
{
public function findById(Uuid $id): ?Platform;
public function findByType(string $type): ?Platform;
/** @return list<Platform> */
public function findAll(): array;
public function save(Platform $platform): void;
}