public static function createNewAccessToken(
        int $ttl,
        TokenOwnerInterface $owner = null,
        Client $client = null,
        $scopes = null
    ): AccessToken {
        return static::createNew($ttl, $owner, $client, $scopes);
    }
public static function createNewAccessToken(
        int $ttl,
        TokenOwnerInterface $owner = null,
        Client $client = null,
        $scopes = null
    ): AccessToken {
        return static::createNew($ttl, $owner, $client, $scopes);
    }
public static function createNewAccessToken ( int $ ttl , TokenOwnerInterface $ owner = null , Client $ client = null , $ scopes = null ) : AccessToken { return static :: createNew ( $ ttl , $ owner , $ client , $ scopes ) ; }
Create a new AccessToken

@param string|string[]|Scope[]|null $scopes
Create a new AccessToken