*/ public array $result = []; /** @param array $result */ public function mount(string $entryKey, array $result): void { $this->authorize('secrets.manage'); abort_if(! array_key_exists($entryKey, SecretVault::REGISTRY), 404); $this->entryKey = $entryKey; $this->result = $result; } public function render() { return view('livewire.admin.check-result', [ 'label' => __(SecretVault::REGISTRY[$this->entryKey]['label']), ]); } }