ExpandInterfaces
in package
Uses
MergeTrait
Look at all (direct) interfaces for a schema and: - merge interfaces annotations/methods into the schema if the interface does not have a schema itself - inherit from the interface if it has a schema (allOf).
Table of Contents
- __invoke() : mixed
- inheritFrom() : void
- mergeAnnotations() : void
- mergeMethods() : void
- mergeProperties() : void
Methods
__invoke()
public
__invoke(Analysis $analysis) : mixed
Parameters
- $analysis : Analysis
Return values
mixed —inheritFrom()
protected
inheritFrom(Schema $schema, Schema $from, string $refPath, Context|null $context) : void
Parameters
Return values
void —mergeAnnotations()
protected
mergeAnnotations(Schema $schema, array<string|int, mixed> $from, array<string|int, mixed> &$existing) : void
Parameters
- $schema : Schema
- $from : array<string|int, mixed>
- $existing : array<string|int, mixed>
Return values
void —mergeMethods()
protected
mergeMethods(Schema $schema, array<string|int, mixed> $from, array<string|int, mixed> &$existing) : void
Parameters
- $schema : Schema
- $from : array<string|int, mixed>
- $existing : array<string|int, mixed>
Return values
void —mergeProperties()
protected
mergeProperties(Schema $schema, array<string|int, mixed> $from, array<string|int, mixed> &$existing) : void
Parameters
- $schema : Schema
- $from : array<string|int, mixed>
- $existing : array<string|int, mixed>