Collection.php 650 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Shipping\Model\ResourceModel\Order\Track;
  7. /**
  8. * Flat sales order shipment tracks collection
  9. *
  10. * @SuppressWarnings(PHPMD.DepthOfInheritance)
  11. */
  12. class Collection extends \Magento\Sales\Model\ResourceModel\Order\Shipment\Track\Collection
  13. {
  14. /**
  15. * Model initialization
  16. *
  17. * @return void
  18. */
  19. protected function _construct()
  20. {
  21. $this->_init(
  22. \Magento\Shipping\Model\Order\Track::class,
  23. \Magento\Sales\Model\ResourceModel\Order\Shipment\Track::class
  24. );
  25. }
  26. }