SiteSetupProcessor.php 495 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * @package Grav.Common.Processors
  4. *
  5. * @copyright Copyright (C) 2015 - 2018 Trilby Media, LLC. All rights reserved.
  6. * @license MIT License; see LICENSE file for details.
  7. */
  8. namespace Grav\Common\Processors;
  9. class SiteSetupProcessor extends ProcessorBase implements ProcessorInterface
  10. {
  11. public $id = '_setup';
  12. public $title = 'Site Setup';
  13. public function process()
  14. {
  15. $this->container['setup']->init();
  16. $this->container['streams'];
  17. }
  18. }