factory = $factory; $this->repositoryQuery = $repositoryQuery; $this->store = $store; } public function getFactory(): UnitFactory { return $this->factory; } public function getRepositoryQuery(): UnitRepositoryQuery { return $this->repositoryQuery; } public function getStore(): UnitStore { return $this->store; } }