registerArgument('useCredentials', 'bool', 'does the manifest requires authentication'); } public function render(): string { if ($this->arguments['useCredentials'] === true) { $this->tag->addAttribute('crossorigin', 'use-credentials'); } $this->tag->addAttribute('rel', 'manifest'); $this->tag->addAttribute('href', $this->reactOnPath); return $this->tag->render(); } }