devClient; if ($devClient === null) { return; } $now = now(); ApiClient::query()->updateOrCreate( ['identifier' => $devClient->identifier->value], [ 'id' => $devClient->id->value, 'name' => $devClient->name->value, 'slug' => Str::slug($devClient->name->value), 'secret' => $devClient->secret->value, 'is_active' => true, 'updated_at' => $now, ] ); $this->command?->info('API client seeded successfully.'); $this->command?->info('Client ID: ' . $devClient->id->value); $this->command?->info('Client Identifier: ' . $devClient->identifier->value); $this->command?->info('Client Secret: ' . $devClient->secret->value); } }