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

20 lines
322 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Factory\Blog;
2021-05-12 12:04:03 +02:00
use App\Core\Factory\FactoryInterface;
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
{
public function create(): Category
{
return new Category();
}
}