type or null on invalid field name</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="EntityDefinition::setType">
<code class="descname">setType</code><span class="sig-paren">(</span><em>$fieldName</em>, <em>$value</em><span class="sig-paren">)</span><a class="headerlink" href="#EntityDefinition::setType" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the type of a field.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col cl