$photoCollection instanceof Collection ? $photoCollection->namespace : $photoCollection['namespace'],