PdbJsonDefault
in package
implements
ArrayableInterface
Represents a possible JSON value for an array property
N.B. MySQL allows creation of columns with a JSON type, but they end up as LONGTEXT columns with JSON validation constraints This should also support (PostGreSQL) JSON and JSONB columns
Table of Contents
Interfaces
- ArrayableInterface
- This object can be explicitly converted to an array with a `toArray()` method.
Properties
- $default : string
Methods
- __construct() : mixed
- __toString() : string
- toArray() : array<string|int, mixed>
- Convert this object to an array.
Properties
$default
protected
string
$default
Methods
__construct()
public
__construct(string $default) : mixed
Parameters
- $default : string
__toString()
public
__toString() : string
Return values
stringtoArray()
Convert this object to an array.
public
toArray() : array<string|int, mixed>