instances added god may help
This commit is contained in:
17
lib/Service/AddressBook/AddressBookAvatarGateway.php
Normal file
17
lib/Service/AddressBook/AddressBookAvatarGateway.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user