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

20 行
423B

  1. <?php
  2. namespace Lc\CaracoleBundle\Factory\Product;
  3. use App\Entity\Product\QualityLabel;
  4. use Lc\CaracoleBundle\Model\Product\QualityLabelInterface;
  5. use Lc\SovBundle\Factory\AbstractFactory;
  6. class QualityLabelFactory extends AbstractFactory
  7. {
  8. public function create(): QualityLabelInterface
  9. {
  10. $qualityLabel = new QualityLabel();
  11. $qualityLabel->setStatus(1);
  12. return $qualityLabel;
  13. }
  14. }