/** * {@inheritdoc} */ public function findUserByApiKey($apiKey) { return $this->toSecurityUser($this->userRepository->findOneByApiKey($apiKey)); }