Template.php 666 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\Traits;
  3. trait Template
  4. {
  5. protected $templateName = null;
  6. protected $templateDir = null;
  7. /**
  8. * @return string|null
  9. */
  10. public function getTemplateDir()
  11. {
  12. return $this->templateDir;
  13. }
  14. /**
  15. * @return string|null
  16. */
  17. public function getTemplateName()
  18. {
  19. return $this->templateName;
  20. }
  21. public function setTemplateName($templateName)
  22. {
  23. $this->templateName = $templateName;
  24. return $this;
  25. }
  26. public function setTemplateDir($templateDir)
  27. {
  28. $this->templateDir= $templateDir;
  29. return $this;
  30. }
  31. }