Doctrine\DBAL\Platforms\MySqlPlatform::getVarcharTypeDeclarationSQLSnippet PHP Метод

getVarcharTypeDeclarationSQLSnippet() защищенный Метод

{@inheritDoc}
protected getVarcharTypeDeclarationSQLSnippet ( $length, $fixed )
    protected function getVarcharTypeDeclarationSQLSnippet($length, $fixed)
    {
        return $fixed ? $length ? 'CHAR(' . $length . ')' : 'CHAR(255)' : ($length ? 'VARCHAR(' . $length . ')' : 'VARCHAR(255)');
    }
MySqlPlatform