/
AleksWork
/
diary_plants
Обзор
Документация
Войти
/
AleksWork
/
diary_plants
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/Domain/Repository/AttachableResolverInterface.php
12 строк
414 B
AlexeySerov
Make change attachableType for attachment entity
18 мар 2026, 09:57
18 мар 2026, 09:57
b5caa47
Код
Авторство
О чём код?
<?php namespace App\Domain\Repository; use App\Domain\Entity\Interfaces\AttachableInterface; use App\Domain\ValueObject\Enum\Usage\AttachableType as AttachableTypeUsage; use App\Domain\ValueObject\Enum\Attachment\AttachableType as AttachableTypeAttachment; interface AttachableResolverInterface { public function resolve(AttachableTypeAttachment|AttachableTypeUsage $type, int $id): ?AttachableInterface; }