Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function getLastKnownSenderIp() |
||
24 | { |
||
25 | if (is_null($this->cachedLastKnownIp)) { |
||
26 | $lastKnownIp = $this->eventRepository->getLastKnownSenderIp(); |
||
27 | $this->cachedLastKnownIp = $lastKnownIp; |
||
28 | } else { |
||
29 | $lastKnownIp = $this->cachedLastKnownIp; |
||
30 | } |
||
31 | return $this->getValueOrEmptyString($lastKnownIp); |
||
32 | } |
||
33 | |||
51 | } |