evwiki/src/Domain/Repository/BrandRepository.php
2025-05-30 07:04:14 +02:00

16 lines
364 B
PHP

<?php
namespace App\Domain\Repository;
use App\Domain\Model\Brand;
use App\Domain\Model\BrandCollection;
use App\Domain\Model\Persistence\PersistedBrand;
interface BrandRepository
{
public function findAll(): BrandCollection;
public function create(Brand $brand): PersistedBrand;
public function update(PersistedBrand $persistedBrand): void;
}