/** * @return string */ public function getWishlists() { if (null === $this->wishlists) { // Get customer $customer = $this->getCustomer(); if ($customer) { $this->wishlists = $this->wishlistRepository->getWishlistsForCustomer($customer); } } return $this->wishlists; }