Browse Source

UserPointSaleFactory : correctif

packProduct
Guillaume 3 years ago
parent
commit
878cf7135d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Factory/User/UserPointSaleFactory.php

+ 2
- 1
Factory/User/UserPointSaleFactory.php View File



namespace Lc\CaracoleBundle\Factory\User; namespace Lc\CaracoleBundle\Factory\User;


use App\Entity\User\UserPointSale;
use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface; use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface;
use Lc\CaracoleBundle\Model\User\UserPointSaleInterface; use Lc\CaracoleBundle\Model\User\UserPointSaleInterface;
use Lc\SovBundle\Factory\AbstractFactory; use Lc\SovBundle\Factory\AbstractFactory;
{ {
public function create(UserInterface $user, PointSaleInterface $pointSale): UserPointSaleInterface public function create(UserInterface $user, PointSaleInterface $pointSale): UserPointSaleInterface
{ {
$userPointSale = parent::create();
$userPointSale = new UserPointSale();


$userPointSale->setUser($user); $userPointSale->setUser($user);
$userPointSale->setPointSale($pointSale); $userPointSale->setPointSale($pointSale);

Loading…
Cancel
Save