Manager
class Manager (View source)
Properties
protected DatabaseManager | $databaseManager | ||
protected Resolver | $resolver | ||
protected Filesystem | $fileSystem |
Methods
__construct(DatabaseManager $databaseManager, Resolver $resolver, Filesystem $fileSystem)
No description
convertTables(Connection $connection, string $characterSet, string $collation, callable $messageCallback, ErrorList $warnings = null)
Convert all the database tables a specific character set/collation combination.
bool
convertTable(Connection $connection, string $tableName, string $characterSet, string $collation)
Convert a table to a specific character set/collation combination.
persistConfiguration(string $connectionName, string $environment, string $characterSet, string $collation)
Persist the character set/collation configuration for a specific connection.
getRepository(string $environment)
No description
Details
__construct(DatabaseManager $databaseManager, Resolver $resolver, Filesystem $fileSystem)
No description
apply(string $characterSet, string $collation, string $connectionName = '', string $environment = '', callable $messageCallback = null, ErrorList $warnings = null)
Apply the character set and collation to a connection.
protected
convertTables(Connection $connection, string $characterSet, string $collation, callable $messageCallback, ErrorList $warnings = null)
Convert all the database tables a specific character set/collation combination.
protected bool
convertTable(Connection $connection, string $tableName, string $characterSet, string $collation)
Convert a table to a specific character set/collation combination.
protected
persistConfiguration(string $connectionName, string $environment, string $characterSet, string $collation)
Persist the character set/collation configuration for a specific connection.
private Repository
getRepository(string $environment)
No description