protected function setDatabaseConfiguration($connection, &$database, &$configs)
    {
        $configs = [];

        if( is_array($database) )
        {
            $configs  = $database;
            $database = $connection;
        }

        $configs['database'] = $database ?: $this->defaultDatabaseName;
    }
protected function setDatabaseConfiguration($connection, &$database, &$configs)
    {
        $configs = [];

        if( is_array($database) )
        {
            $configs  = $database;
            $database = $connection;
        }

        $configs['database'] = $database ?: $this->defaultDatabaseName;
    }
protected function setDatabaseConfiguration ( $ connection , & $ database , & $ configs ) { $ configs = [ ] ; if ( is_array ( $ database ) ) { $ configs = $ database ; $ database = $ connection ; } $ configs [ 'database' ] = $ database ? : $ this -> defaultDatabaseName ; }
Protected set database configuration
Protected set database configuration