PHP Class Dumplie\Metadata\Schema\Type

Afficher le fichier Open project: dumplie/dumplie Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

__toString() public méthode

public __toString ( ) : string
Résultat string

association() public static méthode

public static association ( ) : Type
Résultat Type

bool() public static méthode

public static bool ( ) : Type
Résultat Type

dateTime() public static méthode

public static dateTime ( ) : Type
Résultat Type

decimal() public static méthode

public static decimal ( ) : Type
Résultat Type

float() public static méthode

public static float ( ) : Type
Résultat Type

integer() public static méthode

public static integer ( ) : Type
Résultat Type

isEqual() public méthode

public isEqual ( Type $type ) : boolean
$type Type
Résultat boolean

map() public static méthode

public static map ( ) : Type
Résultat Type

text() public static méthode

public static text ( ) : Type
Résultat Type