src/EntityDescriptor/FieldDescriptor.php
public static function buildIDField($name) {
		$field				= new static($name, 'ref');
		$TYPE				= $field->getType();
		$field->args		= $TYPE->parseArgs(array());
		$field->default		= null;
		$field->writable	= false;
		$field->nullable	= false;
		return $field;
	}
public static function buildIDField($name) {
		$field				= new static($name, 'ref');
		$TYPE				= $field->getType();
		$field->args		= $TYPE->parseArgs(array());
		$field->default		= null;
		$field->writable	= false;
		$field->nullable	= false;
		return $field;
	}
public static function buildIDField ( $ name ) { $ field = new static ( $ name , 'ref' ) ; $ TYPE = $ field -> getType ( ) ; $ field -> args = $ TYPE -> parseArgs ( array ( ) ) ; $ field -> default = null ; $ field -> writable = false ; $ field -> nullable = false ; return $ field ; }
Build ID field for an entity

@param string $name
@return \Orpheus\EntityDescriptor\FieldDescriptor
Build ID field for an entity