OpenTelemetry PHP

Validation
in package

FinalYes

Provides validation closures for {@see NodeDefinition}s.

Tags
see
NodeDefinition::validate()

Table of Contents

Methods

ensureRegexPattern()  : Closure
ensureString()  : Closure
stripPrefix()  : string

Methods

ensureRegexPattern()

public static ensureRegexPattern() : Closure
Tags
psalm-suppress

ArgumentTypeCoercion

Return values
Closure

ensureString()

public static ensureString() : Closure
Return values
Closure

stripPrefix()

private static stripPrefix(string $string, string $prefix) : string
Parameters
$string : string
$prefix : string
Return values
string

        
On this page

Search results