21 lines
496 B
PHP
21 lines
496 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace App\Domain\Channel\Repository;
|
||
|
|
|
||
|
|
use App\Domain\Channel\AttributeMapping;
|
||
|
|
use Symfony\Component\Uid\Uuid;
|
||
|
|
|
||
|
|
interface AttributeMappingRepositoryInterface
|
||
|
|
{
|
||
|
|
public function findById(Uuid $id): ?AttributeMapping;
|
||
|
|
|
||
|
|
/** @return list<AttributeMapping> */
|
||
|
|
public function findByPlatformConfig(Uuid $platformConfigId): array;
|
||
|
|
|
||
|
|
public function save(AttributeMapping $mapping): void;
|
||
|
|
|
||
|
|
public function remove(AttributeMapping $mapping): void;
|
||
|
|
}
|