You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

QualityLabelFactory.php 423B

12345678910111213141516171819
  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. }