Interface for type objects representing a type/class
Source for this file: /Reflection/src/interfaces/type.php
Version: | //autogen// |
public string |
getTypeName(
)
Return the name of this type as string |
public string |
getXmlName(
)
Returns the name to be used in a xml schema for this type. |
public DOMElement |
getXmlSchema(
$dom
)
|
public boolean |
isArray(
)
|
public boolean |
isMap(
)
|
public boolean |
isObject(
)
|
public boolean |
isPrimitive(
)
|
public boolean |
isScalarType(
)
Returns whether this type is one of integer, float, string, or boolean. |
public String |
__toString(
)
Returns a string representation. |
Return the name of this type as string
Returns the name to be used in a xml schema for this type.
Name | Type | Description |
---|---|---|
$dom |
DOMDocument |
Returns whether this type is one of integer, float, string, or boolean.
Types array, object, resource, NULL, mixed, number, and callback are not scalar.
Returns a string representation.