function __construct($source) { $dsn = parseDSN((string) $source); $this->source = $dsn['database']; }