ReferenceResolver
FinalYes
Methods
- __construct() : mixed
- load() : ResolvedReference
- resolve() : ResolvedReference
Methods
__construct()
public
__construct([ClientInterface|null $client = null ][, RequestFactoryInterface|null $requestFactory = null ]) : mixed
Parameters
- $client : ClientInterface|null = null
- $requestFactory : RequestFactoryInterface|null = null
load()
public
load(string|Path $source) : ResolvedReference
Parameters
- $source : string|Path
Tags
Return values
ResolvedReferenceresolve()
public
resolve(string $ref, string $baseUri, array<string, mixed> $rootDocument) : ResolvedReference
Parameters
- $ref : string
- $baseUri : string
- $rootDocument : array<string, mixed>
-
document in which the reference was found