Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 2... Zeile 2...
2
 
2
 
Zeile 3... Zeile 3...
3
namespace Illuminate\Database;
3
namespace Illuminate\Database;
4
 
4
 
-
 
5
use Doctrine\DBAL\Types\Type;
5
use Doctrine\DBAL\Types\Type;
6
use Illuminate\Database\Connectors\ConnectionFactory;
6
use Illuminate\Database\Connectors\ConnectionFactory;
7
use Illuminate\Database\Events\ConnectionEstablished;
7
use Illuminate\Support\Arr;
8
use Illuminate\Support\Arr;
8
use Illuminate\Support\ConfigurationUrlParser;
9
use Illuminate\Support\ConfigurationUrlParser;
9
use Illuminate\Support\Str;
10
use Illuminate\Support\Str;
Zeile 97... Zeile 98...
97
        // set the "fetch mode" for PDO which determines the query return types.
98
        // set the "fetch mode" for PDO which determines the query return types.
98
        if (! isset($this->connections[$name])) {
99
        if (! isset($this->connections[$name])) {
99
            $this->connections[$name] = $this->configure(
100
            $this->connections[$name] = $this->configure(
100
                $this->makeConnection($database), $type
101
                $this->makeConnection($database), $type
101
            );
102
            );
-
 
103
 
-
 
104
            if ($this->app->bound('events')) {
-
 
105
                $this->app['events']->dispatch(
-
 
106
                    new ConnectionEstablished($this->connections[$name])
-
 
107
                );
-
 
108
            }
102
        }
109
        }
Zeile 103... Zeile 110...
103
 
110
 
104
        return $this->connections[$name];
111
        return $this->connections[$name];