Packages.php 564 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @package Grav\Common\GPM
  4. *
  5. * @copyright Copyright (c) 2015 - 2023 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\GPM\Common\CachedCollection;
  10. /**
  11. * Class Packages
  12. * @package Grav\Common\GPM\Local
  13. */
  14. class Packages extends CachedCollection
  15. {
  16. public function __construct()
  17. {
  18. $items = [
  19. 'plugins' => new Plugins(),
  20. 'themes' => new Themes()
  21. ];
  22. parent::__construct($items);
  23. }
  24. }