/**
  * @param FullPlaceResult $place
  * @param array           $photosData
  */
 protected function setPhotos(FullPlaceResult $place, $photosData)
 {
     $photos = array();
     $photosReferences = array();
     foreach ($photosData as $data) {
         $url = $this->router->generate('tastd_core_googleplace_getimage', array('id' => $data['photo_reference']), true);
         $photos[] = str_replace('http', 'https', $url);
         $photosReferences[] = $data['photo_reference'];
     }
     $place->setPhotoReferences($photosReferences);
     $place->setPhotos($photos);
 }