|
|
|
|
|
|
|
|
|
|
|
|
|
|
use Lc\SovBundle\Builder\User\UserBuilder; |
|
|
use Lc\SovBundle\Builder\User\UserBuilder; |
|
|
use Lc\SovBundle\Definition\Field\User\UserFieldDefinition; |
|
|
use Lc\SovBundle\Definition\Field\User\UserFieldDefinition; |
|
|
|
|
|
use Lc\SovBundle\Definition\RolesDefinitionInterface; |
|
|
use Lc\SovBundle\Factory\User\UserFactory; |
|
|
use Lc\SovBundle\Factory\User\UserFactory; |
|
|
use Lc\SovBundle\Repository\User\UserRepositoryQuery; |
|
|
use Lc\SovBundle\Repository\User\UserRepositoryQuery; |
|
|
use Lc\SovBundle\Repository\User\UserStore; |
|
|
use Lc\SovBundle\Repository\User\UserStore; |
|
|
|
|
|
|
|
|
protected UserStore $store; |
|
|
protected UserStore $store; |
|
|
protected UserSolver $solver; |
|
|
protected UserSolver $solver; |
|
|
protected UserFieldDefinition $fieldDefinition; |
|
|
protected UserFieldDefinition $fieldDefinition; |
|
|
|
|
|
protected RolesDefinitionInterface $rolesDefinition; |
|
|
|
|
|
|
|
|
public function __construct( |
|
|
public function __construct( |
|
|
UserFactory $factory, |
|
|
|
|
|
UserBuilder $builder, |
|
|
|
|
|
UserRepositoryQuery $repositoryQuery, |
|
|
|
|
|
UserStore $store, |
|
|
|
|
|
UserSolver $solver, |
|
|
|
|
|
UserFieldDefinition $fieldDefinition |
|
|
|
|
|
|
|
|
UserFactory $factory, |
|
|
|
|
|
UserBuilder $builder, |
|
|
|
|
|
UserRepositoryQuery $repositoryQuery, |
|
|
|
|
|
UserStore $store, |
|
|
|
|
|
UserSolver $solver, |
|
|
|
|
|
UserFieldDefinition $fieldDefinition, |
|
|
|
|
|
RolesDefinitionInterface $rolesDefinition |
|
|
) { |
|
|
) { |
|
|
$this->factory = $factory; |
|
|
$this->factory = $factory; |
|
|
$this->builder = $builder; |
|
|
$this->builder = $builder; |
|
|
|
|
|
|
|
|
$this->store = $store; |
|
|
$this->store = $store; |
|
|
$this->solver = $solver; |
|
|
$this->solver = $solver; |
|
|
$this->fieldDefinition = $fieldDefinition; |
|
|
$this->fieldDefinition = $fieldDefinition; |
|
|
|
|
|
$this->rolesDefinition = $rolesDefinition; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function getFactory(): UserFactory |
|
|
public function getFactory(): UserFactory |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
return $this->fieldDefinition; |
|
|
return $this->fieldDefinition; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function getRoleDefinition(): RolesDefinitionInterface |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->rolesDefinition; |
|
|
|
|
|
} |
|
|
} |
|
|
} |