Themes.php 523 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * @package Grav\Common\GPM
  4. *
  5. * @copyright Copyright (C) 2015 - 2019 Trilby Media, LLC. All rights reserved.
  6. * @license MIT License; see LICENSE file for details.
  7. */
  8. namespace Grav\Common\GPM\Local;
  9. use Grav\Common\Grav;
  10. class Themes extends AbstractPackageCollection
  11. {
  12. /**
  13. * @var string
  14. */
  15. protected $type = 'themes';
  16. /**
  17. * Local Themes Constructor
  18. */
  19. public function __construct()
  20. {
  21. parent::__construct(Grav::instance()['themes']->all());
  22. }
  23. }