/** * @return \Aoe\FeloginBruteforceProtection\Domain\Model\Entry|NULL */ public function getEntry() { if (false === isset($this->entry)) { $entry = $this->entryRepository->findOneByIdentifier($this->getClientIdentifier()); if ($entry instanceof \Aoe\FeloginBruteforceProtection\Domain\Model\Entry) { $this->entry = $entry; if ($this->isOutdated($entry)) { $this->removeEntry(); } } } return $this->entry; }