18 lines
358 B
PHP
18 lines
358 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace MintyPHP\Service\AddressBook;
|
||
|
|
|
||
|
|
use MintyPHP\Service\User\UserAvatarService;
|
||
|
|
|
||
|
|
class AddressBookAvatarGateway
|
||
|
|
{
|
||
|
|
public function __construct(private readonly UserAvatarService $userAvatarService)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
public function hasAvatar(string $userUuid): bool
|
||
|
|
{
|
||
|
|
return $this->userAvatarService->hasAvatar($userUuid);
|
||
|
|
}
|
||
|
|
}
|