Collection.php 670 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © 2015 Ihor Vansach (ihor@magefan.com). All rights reserved.
  4. * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
  5. *
  6. * Glory to Ukraine! Glory to the heroes!
  7. */
  8. namespace Magefan\Blog\Model\ResourceModel\Author;
  9. /**
  10. * Blog author collection
  11. */
  12. class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
  13. {
  14. /**
  15. * Constructor
  16. * Configures collection
  17. *
  18. * @return void
  19. */
  20. protected function _construct()
  21. {
  22. parent::_construct();
  23. $this->_init('Magefan\Blog\Model\Author', 'Magefan\Blog\Model\ResourceModel\Author');
  24. }
  25. }