class SpecModel implements JsonSerializable (View source)

Properties

protected string $objectName
protected string $name
protected SpecProperty[] $properties

Methods

__construct(string $objectName, string $name)

SpecModel constructor.

string
getObjectName()

No description

string
getName()

No description

addProperty(SpecProperty $property)

No description

jsonSerialize()

No description

Details

__construct(string $objectName, string $name)

SpecModel constructor.

Parameters

string $objectName
string $name

string getObjectName()

No description

Return Value

string

string getName()

No description

Return Value

string

addProperty(SpecProperty $property)

No description

Parameters

SpecProperty $property

jsonSerialize()

No description