type = $type; $this->text = $text; } public static function item(string $text,string $type='mrkdwn'): self { return new self($text,$type); } }