protected function getConnection() { if ($this->connection) { return $this->connection; } $this->connection = DriverManager::getConnection(['driver' => 'pdo_sqlite', 'memory' => true]); return $this->connection; }