DevtoolHome.inc 328 B

123456789101112131415161718192021
  1. <?php
  2. class DevtoolHome
  3. {
  4. public static function getInstance()
  5. {
  6. return new DevtoolHome();
  7. }
  8. private $twig;
  9. private function __construct()
  10. {
  11. $this->twig = new TwigWrapper();
  12. }
  13. public function process()
  14. {
  15. $options = array("title" => "Devtools");
  16. return $this->twig->render("devtool_home.html", $options);
  17. }
  18. }