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

19 行
343B

  1. <?php
  2. namespace Lc\SovBundle\Factory\Site;
  3. use App\Entity\Site\News;
  4. use Lc\SovBundle\Factory\AbstractFactory;
  5. use Lc\SovBundle\Model\Site\NewsInterface;
  6. class NewsFactory extends AbstractFactory implements NewsFactoryInterface
  7. {
  8. public function create(): NewsInterface
  9. {
  10. $news = new News();
  11. return $news;
  12. }
  13. }