PHP Class LeanMapper\Reflection\PropertyType

Author: Vojtěch Kohout
Show file Open project: tharos/leanmapper Class Usage Examples

Public Methods

Method Description
__construct ( string $type, Aliases $aliases )
getType ( ) : string Gets type
isBasicType ( ) : boolean Tells whether current type is basic type (boolean|integer|float|string|array)

Method Details

__construct() public method

public __construct ( string $type, Aliases $aliases )
$type string
$aliases Aliases

getType() public method

Gets type
public getType ( ) : string
return string

isBasicType() public method

Tells whether current type is basic type (boolean|integer|float|string|array)
public isBasicType ( ) : boolean
return boolean