|
123456789101112131415161718 |
- <?php
-
- namespace Lc\SovBundle\Factory\Site;
-
- use App\Entity\Site\News;
- use Lc\SovBundle\Factory\AbstractFactory;
- use Lc\SovBundle\Model\Site\NewsInterface;
-
- class NewsFactory extends AbstractFactory implements NewsFactoryInterface
- {
- public function create(): NewsInterface
- {
- $news = new News();
-
- return $news;
- }
-
- }
|