Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

SectionFactory.php 569B

il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
123456789101112131415161718192021222324
  1. <?php
  2. namespace Lc\CaracoleBundle\Factory\Section;
  3. use App\Entity\Section\Section;
  4. use Lc\CaracoleBundle\Factory\MerchantFactoryTrait;
  5. use Lc\CaracoleBundle\Factory\SectionFactoryTrait;
  6. use Lc\CaracoleBundle\Model\Section\SectionInterface;
  7. use Lc\SovBundle\Factory\AbstractFactory;
  8. class SectionFactory extends AbstractFactory implements SectionFactoryInterface
  9. {
  10. use MerchantFactoryTrait;
  11. public function create(): SectionInterface
  12. {
  13. $section = new Section();
  14. $section->setMerchant($this->merchant);
  15. return $section;
  16. }
  17. }