src/Services/TracerCapsule.php
/**
     * Checks if the carrier is valid.
     *
     * @param array|null $carrier The carrier associative array
     *
     * @return bool
     */
Checks if the carrier is valid.
@param array|null $carrier The carrier associative array

@return bool
Checks if the carrier is valid . @param array|null $carrier The carrier associative array @return bool
public static function isValidCarrier(?array $carrier): bool
    {
        return isset(
            $carrier['x-datadog-trace-id'],
            $carrier['x-datadog-parent-id'],
            $carrier['x-datadog-sampling-priority']
        );
    }
public static function isValidCarrier ( ? array $ carrier ) : bool { return isset ( $ carrier [ 'x-datadog-trace-id' ] , $ carrier [ 'x-datadog-parent-id' ] , $ carrier [ 'x-datadog-sampling-priority' ] ) ; }
Checks if the carrier is valid.
Checks if the carrier is valid .