XsdBaseTypeDefinition
in package
implements
JsonSerializable
XsdBaseTypeDefinition
Represents the definition of a simple type.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $name : string
- $restrictions : object
- $_base : string
- The base type.
Methods
- __construct() : mixed
- Constructor.
- __get() : mixed
- Getter.
- jsonSerialize() : object
- Returns the data as a plain object for JSON serialization.
- ToObject() : object
- Returns the data as a plain object.
Properties
$name read-only
public
string
$name
The name of the simple type.
$restrictions read-only
public
object
$restrictions
The restrictions applied to the simple type.
$_base
The base type.
private
string
$_base
Methods
__construct()
Constructor.
public
__construct(mixed $base) : mixed
Parameters
- $base : mixed
-
The base type.
__get()
Getter.
public
__get(string $name) : mixed
Parameters
- $name : string
-
The name of the property.
jsonSerialize()
Returns the data as a plain object for JSON serialization.
public
jsonSerialize() : object
Return values
objectToObject()
Returns the data as a plain object.
public
ToObject() : object