src/Type/TypeFactory.php
static public function getType($strType){
		//convert reserved names to the actual objects
		$arrReservere = array(
			'array' => 'ArrayObject',
			'bool' => 'BooleanObject',
			'boolean' => 'BooleanObject',
			'datetime' => 'DateTimeObject',
			'dictionary' => 'DictionaryObject',
			'enum' => 'EnumObject',
			'id' => 'IdObject',
			'int' => 'IntObject',
			'float' => 'FloatObject',
			'string' => 'StringObject',
			'resource' => 'ResourceObject',
			'object' => 'ObjectObject',
			'objectarray' => 'ObjectArrayObject',
			'number' => 'NumberObject',
			'numeric' => 'NumberObject',
			'fixeddictionary' => 'FixedDictionaryObject'
		);

		if(array_key_exists(strtolower($strType), $arrReservere)){
			$strType = $arrReservere[strtolower($strType)];
		}

		$strType = 'Frozensheep\\Synthesize\\Type\\'.ucfirst($strType);

		return $strType;
	}
static public function getType($strType){
		//convert reserved names to the actual objects
		$arrReservere = array(
			'array' => 'ArrayObject',
			'bool' => 'BooleanObject',
			'boolean' => 'BooleanObject',
			'datetime' => 'DateTimeObject',
			'dictionary' => 'DictionaryObject',
			'enum' => 'EnumObject',
			'id' => 'IdObject',
			'int' => 'IntObject',
			'float' => 'FloatObject',
			'string' => 'StringObject',
			'resource' => 'ResourceObject',
			'object' => 'ObjectObject',
			'objectarray' => 'ObjectArrayObject',
			'number' => 'NumberObject',
			'numeric' => 'NumberObject',
			'fixeddictionary' => 'FixedDictionaryObject'
		);

		if(array_key_exists(strtolower($strType), $arrReservere)){
			$strType = $arrReservere[strtolower($strType)];
		}

		$strType = 'Frozensheep\\Synthesize\\Type\\'.ucfirst($strType);

		return $strType;
	}
static public function getType ( $ strType ) { //convert reserved names to the actual objects $ arrReservere = array ( 'array' => 'ArrayObject' , 'bool' => 'BooleanObject' , 'boolean' => 'BooleanObject' , 'datetime' => 'DateTimeObject' , 'dictionary' => 'DictionaryObject' , 'enum' => 'EnumObject' , 'id' => 'IdObject' , 'int' => 'IntObject' , 'float' => 'FloatObject' , 'string' => 'StringObject' , 'resource' => 'ResourceObject' , 'object' => 'ObjectObject' , 'objectarray' => 'ObjectArrayObject' , 'number' => 'NumberObject' , 'numeric' => 'NumberObject' , 'fixeddictionary' => 'FixedDictionaryObject' ) ; if ( array_key_exists ( strtolower ( $ strType ) , $ arrReservere ) ) { $ strType = $ arrReservere [ strtolower ( $ strType ) ] ; } $ strType = 'Frozensheep\\Synthesize\\Type\\' . ucfirst ( $ strType ) ; return $ strType ; }
Get Type Method

Returns a type object based on the options given.
@param string $strType The name of the type.
return string
Get Type Method