Themes.php 374 B

12345678910111213141516171819202122
  1. <?php
  2. namespace Grav\Common\GPM\Local;
  3. /**
  4. * Class Themes
  5. * @package Grav\Common\GPM\Local
  6. */
  7. class Themes extends AbstractPackageCollection
  8. {
  9. /**
  10. * @var string
  11. */
  12. protected $type = 'themes';
  13. /**
  14. * Local Themes Constructor
  15. */
  16. public function __construct()
  17. {
  18. parent::__construct(self::getGrav()['themes']->all());
  19. }
  20. }