/** * Get type * * @return string */ public function getType() { return $this->field->getType(); }
/** * Resolve type of field * * @param Field $field */ protected function resolveType(Field $field) { if ($field->getType() !== null) { return; } $type = $this->getMetadata()->getTypeOfField($field->getName()); $field->setType($type); }