Sales/Block/Order/Total.php
final protected function addBefore($code, $label, $value, $valueBase, $before = null) {$this->add(
		'addTotalBefore', $code, $label, $value, $valueBase, $before
	);}
final protected function addBefore($code, $label, $value, $valueBase, $before = null) {$this->add(
		'addTotalBefore', $code, $label, $value, $valueBase, $before
	);}
final protected function addBefore ( $ code , $ label , $ value , $ valueBase , $ before = null ) { $ this -> add ( 'addTotalBefore' , $ code , $ label , $ value , $ valueBase , $ before ) ; }
2016-08-14 Add new total to totals array before specific total or after first total by default.
@used-by \Dfe\AllPay\Block\Total::initTotals()
@uses \Magento\Sales\Block\Order\Totals::addTotalBefore()
@param string $code
@param string $label
@param float $value
@param float $valueBase
@param string|null $before [optional]
2016 - 08 - 14 Add new total to totals array before specific total or after first total by default .