Skip to content
docsv0.44.3

ImplementationBody

The landing gate's namespace transformation, shared with its host-side witness.

ImplementationBody::namespaceFor()

public static function namespaceFor(string $path): string

Resolve the namespace dictated by the relative source/test path.

Parameters

Parameters of namespaceFor()
NameTypeDescription
$pathstring

ImplementationBody::normalize()

public static function normalize(string $content, string $path): string

Apply exactly the transformation used before syntax and behavior are judged.

Parameters

Parameters of normalize()
NameTypeDescription
$contentstring
$pathstring