deblan.io-murph/src/Factory/Blog/CategoryFactory.php

20 lines
322 B
PHP

<?php
namespace App\Factory\Blog;
use App\Core\Factory\FactoryInterface;
use App\Entity\Blog\Category;
/**
* class CategoryFactory.
*
* @author Simon Vieille <simon@deblan.fr>
*/
class CategoryFactory implements FactoryInterface
{
public function create(): Category
{
return new Category();
}
}