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

22 行
526B

  1. <?php
  2. namespace Lc\SovBundle\Solver\Setting;
  3. use Lc\SovBundle\Model\Setting\SettingInterface;
  4. use Lc\SovBundle\Model\Ticket\TicketInterface;
  5. use Lc\SovBundle\Model\Ticket\TicketModel;
  6. class SettingSolver
  7. {
  8. public function getValue(SettingInterface $setting)
  9. {
  10. if ($setting->getText()) {
  11. return $setting->getText();
  12. } elseif ($setting->getDate()) {
  13. return $setting->getDate();
  14. } elseif ($setting->getFile()) {
  15. return $setting->getFile();
  16. }
  17. }
  18. }