<?php
/**
* @package DATA
*/
/**
* Abstract factory for SQL types representations.
*
* A concrete factory will be provided for each database engine.
*/
abstract class DATA_SQLTypeFactory {
/**
* Inboxes a value.
*
* Throws {@link DATA_SQLTypeConstraintFailed}.
*
* @param mixed $value The php native value.
* @return DATA_SQLType Inboxed value.
*/
abstract public function inbox($value);
}
?>
|