factory = $factory; $this->repositoryQuery = $repositoryQuery; $this->store = $store; } public function getFactory(): VisitorFactory { return $this->factory; } public function getRepositoryQuery(): VisitorRepositoryQuery { return $this->repositoryQuery; } public function getStore(): VisitorStore { return $this->store; } }