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.

ProductFactory.php 351B

3 years ago
3 years ago
123456789101112131415161718
  1. <?php
  2. namespace Lc\CaracoleBundle\Factory\Product;
  3. use App\Entity\Product\Product;
  4. use Lc\CaracoleBundle\Model\Product\ProductInterface;
  5. use Lc\SovBundle\Factory\AbstractFactory;
  6. class ProductFactory extends AbstractFactory
  7. {
  8. public function create(): ProductInterface
  9. {
  10. $product = new Product();
  11. return $product;
  12. }
  13. }