HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //usr/local/share/elastic_apm/v1.9.1/ElasticApm/TransactionContextUserInterface.php
<?php

declare(strict_types=1);

namespace Elastic\Apm;

interface TransactionContextUserInterface
{
    /**
     * Identifier of the logged in user
     *
     * The length of a string value is limited to 1024.
     *
     * @link https://github.com/elastic/apm-server/blob/v7.0.0/docs/spec/user.json#L6
     *
     * @param null|int|string $id
     *
     * @return void
     */
    public function setId($id): void;

    /**
     * Email of the logged in user
     *
     * The length of a string value is limited to 1024.
     *
     * @link https://github.com/elastic/apm-server/blob/v7.0.0/docs/spec/user.json#L11
     *
     * @param ?string $email
     *
     * @return void
     */
    public function setEmail(?string $email): void;

    /**
     * The username of the logged in user
     *
     * The length of a string value is limited to 1024.
     *
     * @link https://github.com/elastic/apm-server/blob/v7.0.0/docs/spec/user.json#L16
     *
     * @param ?string $username
     *
     * @return void
     */
    public function setUsername(?string $username): void;
}