|
12345678910111213141516171819202122 |
- <?php
-
- namespace Lc\CaracoleBundle\Factory\Section;
-
- use App\Entity\Section\Section;
- 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);
-
- return $section;
- }
-
- }
|