Devise\Support\Installer\InstallWizard::createDatabaseWithSettings PHP Метод

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

create the database with given settings, this will attempt to create the database with the given name. this will work for users that are using a root level access account to connect to mysql. won't work for lower level access though.
protected createDatabaseWithSettings ( array $settings ) : boolean
$settings array
Результат boolean
    protected function createDatabaseWithSettings(array $settings)
    {
        extract($settings);
        try {
            $this->DatabaseCreator->createDatabase($DB_DEFAULT, $DB_HOST, $DB_DATABASE, $DB_USERNAME, $DB_PASSWORD);
        } catch (\PDOException $e) {
            return false;
        }
        return $this->isValidDatabaseSettings($settings);
    }