You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace common\logic\User\UserGroup;
-
- use common\logic\ContainerInterface;
- use common\logic\AbstractSingleton;
-
- class UserGroupContainer extends AbstractSingleton implements ContainerInterface
- {
- public function getEntityFqcn(): string
- {
- return UserGroup::class;
- }
-
- public function getServices(): array
- {
- return [
- UserGroupBuilder::class,
- UserGroupRepository::class
- ];
- }
-
- public function getFactory(): UserGroupBuilder
- {
- return new UserGroupBuilder();
- }
-
- public function getRepository(): UserGroupRepository
- {
- return new UserGroupRepository();
- }
- }
|