20 lines
418 B
PHP
20 lines
418 B
PHP
<?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;
|
|
}
|