setUniqueId($uniqueId); return $viewShortcode; } /** * @param string $name unused argument, just to make the method call human-readable in your code */ public static function cardShortcode(string $uniqueId, string $name): CardShortcodeInterface { $cardShortcode = new CardShortcode(static::$innerCardShortcode); $cardShortcode->setUniqueId($uniqueId); return $cardShortcode; } }