public function collect() { // Fallback if not injected $app = $this->app ?: app(); return ["version" => $app::VERSION, "environment" => $app->environment(), "locale" => $app->getLocale()]; }