public function getFieldTypes()
{
// First make sure all items are correct type (call closures)
foreach ($this->fieldTypes as $identifier => $value) {
if (!$value instanceof SPIFieldTypeNameable) {
$this->getFieldType($identifier);
}
}
return $this->fieldTypes;
}