CategoryManagement.php 717 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Copyright © 2016 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;
  9. /**
  10. * Category management model
  11. */
  12. class CategoryManagement extends AbstractManagement
  13. {
  14. /**
  15. * @var \Magefan\Blog\Model\CategoryFactory
  16. */
  17. protected $_itemFactory;
  18. /**
  19. * Initialize dependencies.
  20. *
  21. * @param \Magefan\Blog\Model\CategoryFactory $categoryFactory
  22. */
  23. public function __construct(
  24. \Magefan\Blog\Model\CategoryFactory $categoryFactory
  25. ) {
  26. $this->_itemFactory = $categoryFactory;
  27. }
  28. }