Collection.php 710 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\SalesRule\Model\ResourceModel\Rule\Customer;
  7. /**
  8. * SalesRule Model Resource Rule Customer_Collection
  9. *
  10. * @author Magento Core Team <core@magentocommerce.com>
  11. */
  12. class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
  13. {
  14. /**
  15. * Collection constructor
  16. *
  17. * @return void
  18. */
  19. protected function _construct()
  20. {
  21. parent::_construct();
  22. $this->_init(
  23. \Magento\SalesRule\Model\Rule\Customer::class,
  24. \Magento\SalesRule\Model\ResourceModel\Rule\Customer::class
  25. );
  26. }
  27. }