/**
 * Writes a common 'edit' button.
 *
 * @param   string  $task  The task name of this button.
 * @param   string  $text  The text of this button.
 *
 * @return  StandardButton
 *
 * @since   4.0.0
 */
public function edit(string $task, string $text = 'JTOOLBAR_EDIT') : StandardButton
{
    return $this->standardButton('edit', $text)->task($task);
}