keyed by busProId */ public function getAll(): array { return $this->cache->get( self::CACHE_KEY, self::TTL, fn (): array => $this->responseMapper->mapPickups($this->apiClient->get('api/pickups')), ); } public function get(int $busProId): ?Pickup { return $this->getAll()[$busProId] ?? null; } }