Grid.php 670 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Model\Observer;
  7. use Magento\Customer\Model\ResourceModel\Customer\Grid as CustomerGrid;
  8. /**
  9. * @deprecated 100.1.0
  10. */
  11. class Grid
  12. {
  13. /**
  14. * @var CustomerGrid
  15. */
  16. protected $customerGrid;
  17. /**
  18. * @param CustomerGrid $grid
  19. */
  20. public function __construct(
  21. CustomerGrid $grid
  22. ) {
  23. $this->customerGrid = $grid;
  24. }
  25. /**
  26. * @return void
  27. *
  28. * @deprecated 100.1.0
  29. */
  30. public function syncCustomerGrid()
  31. {
  32. $this->customerGrid->syncCustomerGrid();
  33. }
  34. }