Пример #1
0
 /**
  * Get image attachment link with liip imagine filter applied to image
  *
  * @param File   $entity
  * @param string $filerName
  * @return string
  */
 public function getFilteredImageUrl(File $entity, $filerName)
 {
     return $this->router->generate('oro_filtered_attachment', ['id' => $entity->getId(), 'filename' => $entity->getOriginalFilename(), 'filter' => $filerName]);
 }