AbstractTotal.php 628 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Model\Order\Total;
  7. /**
  8. * Base class for configure totals order
  9. * @api
  10. *
  11. * @author Magento Core Team <core@magentocommerce.com>
  12. * @since 100.0.2
  13. */
  14. abstract class AbstractTotal extends \Magento\Framework\DataObject
  15. {
  16. /**
  17. * Process model configuration array.
  18. * This method can be used for changing models apply sort order
  19. *
  20. * @param array $config
  21. * @return array
  22. */
  23. public function processConfigArray($config)
  24. {
  25. return $config;
  26. }
  27. }