您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SiteInterface.php 554B

12345678910111213141516171819202122
  1. <?php
  2. namespace Lc\SovBundle\Model\Site;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\SovBundle\Model\Setting\SiteSettingInterface;
  5. interface SiteInterface
  6. {
  7. public function getDevAlias(): ?string;
  8. public function setDevAlias(?string $devAlias): SiteInterface;
  9. /**
  10. * @return Collection|SiteSettingInterface[]
  11. */
  12. public function getSettings(): Collection;
  13. public function addSetting(SiteSettingInterface $setting): SiteInterface;
  14. public function removeSetting(SiteSettingInterface $setting): SiteInterface;
  15. }