/**
 * Writes a cancel button that will go back to the previous page without doing
 * any other operation.
 *
 * @param   string  $text  The text of button.
 *
 * @return  LinkButton
 *
 * @since   4.0.0
 */
public function back(string $text = 'JTOOLBAR_BACK') : LinkButton
{
    return $this->link('back', $text)->url('javascript:history.back();');
}