|
12345678910111213141516171819 |
- <?php
-
- namespace Lc\SovBundle\Factory\User;
-
- use App\Entity\User\GroupUser;
- use Lc\SovBundle\Factory\AbstractFactory;
- use Lc\SovBundle\Model\User\GroupUserInterface;
-
- class GroupUserFactory extends AbstractFactory implements GroupUserFactoryInterface
- {
- public function create(): GroupUserInterface
- {
- $groupUser = new GroupUser();
-
- $groupUser->setStatus(1);
-
- return $groupUser;
- }
- }
|