16 lines
364 B
PHP
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;
|
|
} |