PHP Class Dumplie\Metadata\Schema\Type

Show file Open project: dumplie/dumplie Class Usage Examples

Public Methods

Method Description
__construct ( string $type ) Type constructor.
__toString ( ) : string
association ( ) : Type
bool ( ) : Type
dateTime ( ) : Type
decimal ( ) : Type
float ( ) : Type
integer ( ) : Type
isEqual ( Type $type ) : boolean
map ( ) : Type
text ( ) : Type

Method Details

__construct() public method

Type constructor.
public __construct ( string $type )
$type string

__toString() public method

public __toString ( ) : string
return string

association() public static method

public static association ( ) : Type
return Type

bool() public static method

public static bool ( ) : Type
return Type

dateTime() public static method

public static dateTime ( ) : Type
return Type

decimal() public static method

public static decimal ( ) : Type
return Type

float() public static method

public static float ( ) : Type
return Type

integer() public static method

public static integer ( ) : Type
return Type

isEqual() public method

public isEqual ( Type $type ) : boolean
$type Type
return boolean

map() public static method

public static map ( ) : Type
return Type

text() public static method

public static text ( ) : Type
return Type