makeMyButton(); * // Position and group are ignored - button defines its own * $buttonBar->addButton($button); * ``` */ interface PositionInterface { /** * Returns the position where this button should be rendered. * * @return string Either ButtonBar::BUTTON_POSITION_LEFT or ButtonBar::BUTTON_POSITION_RIGHT */ public function getPosition(): string; /** * Returns the group number for this button. * * Groups determine the visual grouping and order of buttons within a position. * Lower numbers appear first. * * @return int The group number (e.g., 1, 10, 90, 91) */ public function getGroup(): int; }