<?php
declare(strict_types=1);
namespace App\EventListener;
use League\OAuth2\Server\RequestAccessTokenEvent;
final class AccessTokenListener
{
public function onAccessTokenIssuedEvent(RequestAccessTokenEvent $event): void
{
// dd($event->getAccessToken());
// do something
}
}