protected function isSqliteInMemory() { if (array_key_exists('memory', $this->app['config']['database']) && $this->app['config']['database']['memory']) { return true; } return false; }