Documentation

ExpandTraits
in package
Uses MergeTrait

Look at all (direct) traits for a schema and: - merge trait annotations/methods/properties into the schema if the trait does not have a schema itself - inherit from the trait if it has a schema (allOf).

Table of Contents

__invoke()  : mixed
inheritFrom()  : void
mergeAnnotations()  : void
mergeMethods()  : void
mergeProperties()  : void

Methods

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>
Return values
void

Search results