class AbstractParameter implements JsonSerializable

Topmost abstract parameter class

Methods

array
jsonSerialize()

Specify data which should be serialized to JSON

string
__toString()

A shorthand for JSON-encoding parameters

Details

at line line 64
array jsonSerialize()

Specify data which should be serialized to JSON

Return Value

array data which can be serialized by json_encode, which is a value of any type other than a resource.

See also

http://php.net/manual/en/jsonserializable.jsonserialize.php

at line line 75
string __toString()

A shorthand for JSON-encoding parameters

Return Value

string