Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- <?php
-
- namespace Lc\CaracoleBundle\Factory\PointSale;
-
- use App\Entity\PointSale\PointSaleSection;
- use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface;
- use Lc\CaracoleBundle\Model\PointSale\PointSaleSectionInterface;
- use Lc\CaracoleBundle\Model\Section\SectionInterface;
- use Lc\SovBundle\Factory\AbstractFactory;
-
- class PointSaleSectionFactory extends AbstractFactory
- {
-
- public function create(PointSaleInterface $pointSale, SectionInterface $section): PointSaleSectionInterface
- {
- $pointSaleSection = new PointSaleSection();
-
- $pointSaleSection->setPointSale($pointSale);
- $pointSaleSection->setSection($section);
-
- return $pointSaleSection;
- }
-
- }
|