2021-03-29 13:58:05 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Factory\Blog;
|
|
|
|
|
2021-05-12 12:04:03 +02:00
|
|
|
use App\Core\Factory\FactoryInterface;
|
2021-03-29 13:58:05 +02:00
|
|
|
use App\Entity\Blog\Category;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* class CategoryFactory.
|
|
|
|
*
|
|
|
|
* @author Simon Vieille <simon@deblan.fr>
|
|
|
|
*/
|
2021-05-12 12:04:03 +02:00
|
|
|
class CategoryFactory implements FactoryInterface
|
2021-03-29 13:58:05 +02:00
|
|
|
{
|
|
|
|
public function create(): Category
|
|
|
|
{
|
|
|
|
return new Category();
|
|
|
|
}
|
|
|
|
}
|