<?php

namespace Lc\CaracoleBundle\Factory\Section;

use App\Entity\Section\Section;
use Lc\CaracoleBundle\Context\MerchantContextTrait;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Model\Section\SectionInterface;
use Lc\SovBundle\Factory\AbstractFactory;

class SectionFactory extends AbstractFactory
{

    public function create(MerchantInterface $merchant): SectionInterface
    {
        $section = new Section();

        $section->setMerchant($merchant);
        $section->setStatus(1);

        return $section;
    }

}