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.

21 line
395B

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