src/Element/Group.php
public function setIdPrefix(string $prefix = null)
    {
        foreach ((array)$this as $element) {
            if (is_object($element)) {
                $element->setIdPrefix($prefix);
            }
        }
    }
public function setIdPrefix(string $prefix = null)
    {
        foreach ((array)$this as $element) {
            if (is_object($element)) {
                $element->setIdPrefix($prefix);
            }
        }
    }
public function setIdPrefix ( string $ prefix = null ) { foreach ( ( array ) $ this as $ element ) { if ( is_object ( $ element ) ) { $ element -> setIdPrefix ( $ prefix ) ; } } }
Sets the ID prefix for this group. The ID prefix is optionally prefixed
to all generated IDs to resolve ambiguity.

@param string $prefix The prefix. Set to `null` to remove.
Sets the ID prefix for this group . The ID prefix is optionally prefixed to all generated IDs to resolve ambiguity .