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

20 行
381B

  1. <?php
  2. namespace Lc\SovBundle\Factory\File;
  3. use Lc\SovBundle\Container\File\FileContainer;
  4. use Lc\SovBundle\Factory\AbstractFactory;
  5. use Lc\SovBundle\Model\File\FileInterface;
  6. class FileFactory extends AbstractFactory
  7. {
  8. public function create(): FileInterface
  9. {
  10. $class = FileContainer::getEntityFqcn();
  11. $file = new $class;
  12. return $file;
  13. }
  14. }