Doctrine\ORM\Tools\SchemaTool::_gatherColumn
Creates a column definition as required by the DBAL from an ORM field mapping definition.
Signature
private function _gatherColumn(ClassMetadata
$class,
array
$mapping,
Table
$table )
Parameters
$class
— object- The class that owns the field mapping.
$mapping
— array- The field mapping.
$table
— object
Returns
- array
- The portable column definition as required by the DBAL.