프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$connection | Doctrine\DBAL\Connection | ||
$persistenceSettings | array |
메소드 | 설명 | |
---|---|---|
setCharsetCommand ( string $characterSet = 'utf8', string $collation = 'utf8_unicode_ci', string $output = null, boolean $verbose = false ) | Convert the database schema to use the given character set and collation (defaults to utf8 and utf8_unicode_ci). |
메소드 | 설명 | |
---|---|---|
convertToCharacterSetAndCollation ( string $characterSet = 'utf8', string $collation = 'utf8_unicode_ci', string $outputPathAndFilename = null, boolean $verbose = false ) | Convert the tables in the current database to use given character set and collation. | |
initializeConnection ( ) : void | Create a Doctrine DBAL Connection with the configured settings. |
protected convertToCharacterSetAndCollation ( string $characterSet = 'utf8', string $collation = 'utf8_unicode_ci', string $outputPathAndFilename = null, boolean $verbose = false ) | ||
$characterSet | string | Character set to convert to |
$collation | string | Collation to set, must be compatible with the character set |
$outputPathAndFilename | string | |
$verbose | boolean |
protected initializeConnection ( ) : void | ||
리턴 | void |
public setCharsetCommand ( string $characterSet = 'utf8', string $collation = 'utf8_unicode_ci', string $output = null, boolean $verbose = false ) | ||
$characterSet | string | Character set, defaults to utf8 |
$collation | string | Collation to use, defaults to utf8_unicode_ci |
$output | string | A file to write SQL to, instead of executing it |
$verbose | boolean | If set, the statements will be shown as they are executed |