config = $config; $this->entityManager = $entityManager; } protected function getConfig() { return $this->config; } protected function getEntityManager() { return $this->entityManager; } protected function getPasswordHash() { if (!isset($this->passwordHash)) { $this->passwordHash = new \Espo\Core\Utils\PasswordHash($this->config); } return $this->passwordHash; } }