Doctrine\DBAL\Platforms\MySqlPlatform::getCollationFieldDeclaration PHP Method

getCollationFieldDeclaration() public method

Obtain DBMS specific SQL code portion needed to set the COLLATION of a field declaration to be used in statements like CREATE TABLE.
Deprecation: Deprecated since version 2.5, Use {@link self::getColumnCollationDeclarationSQL()} instead.
public getCollationFieldDeclaration ( string $collation ) : string
$collation string name of the collation
return string DBMS specific SQL code portion needed to set the COLLATION of a field declaration.
    public function getCollationFieldDeclaration($collation)
    {
        return $this->getColumnCollationDeclarationSQL($collation);
    }
MySqlPlatform