name = $name; $this->backgroundColor = $backgroundColor; $this->textColor = $textColor; $this->icon = $icon; } public function getName(): string { return $this->name; } /** @param string[] $options */ public function processSub( Parser $parser, ?Node $document, string $variable, string $data, array $options ): ?Node { return new WrapperNode($document, sprintf( '
', $this->name, $this->backgroundColor, $this->textColor, $this->icon ), ' |