Doctrine\DBAL\Types\Type::getSQLDeclaration
Gets the SQL declaration snippet for a field of this type.
Signature
public function getSQLDeclaration(array
$fieldDeclaration,
AbstractPlatform
$platform )
Parameters
$fieldDeclaration
— array- The field declaration.
$platform
— Doctrine\DBAL\Platforms\AbstractPlatform- The currently used database platform.