PHP Class Storm\Drivers\Base\Relational\Columns\CastingDataType

Inheritance: extends DataType
Show file Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
ToPersistedValue ( $PropertyValue )
ToPropertyValue ( $PersistedValue )
__construct ( $DataType, $CastType, array $Parameters = [], $Extra = null, $ParameterType = ParameterType::String )

Method Details

ToPersistedValue() public method

public ToPersistedValue ( $PropertyValue )

ToPropertyValue() public method

public ToPropertyValue ( $PersistedValue )

__construct() public method

public __construct ( $DataType, $CastType, array $Parameters = [], $Extra = null, $ParameterType = ParameterType::String )
$Parameters array