Themes.php 489 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Grav\Common\GPM\Remote;
  3. /**
  4. * Class Themes
  5. * @package Grav\Common\GPM\Remote
  6. */
  7. class Themes extends AbstractPackageCollection
  8. {
  9. /**
  10. * @var string
  11. */
  12. protected $type = 'themes';
  13. protected $repository = 'http://getgrav.org/downloads/themes.json';
  14. /**
  15. * Local Themes Constructor
  16. */
  17. public function __construct($refresh = false, $callback = null)
  18. {
  19. parent::__construct($this->repository, $refresh, $callback);
  20. }
  21. }