for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\Queue;
use Psr\Log\LoggerInterface;
final class LoggingAuthorizationHandler
{
public const NAME = 'logging-authorization-handler';
public const CHANNEL = 'logging-authorization-channel';
public function __construct(private LoggerInterface $logger)
}
public function handle(UserLoggedInMessage $message): void
$this->logger->info('User is login', [
'data' => $message->getData(),
]);