示例#1
0
 /**
  * @param $path
  * @param $filter
  *
  * @return mixed
  */
 public function getImage($path, $filter)
 {
     return $this->helper->getImage($path, $filter);
 }
 /**
  * {@inheritdoc}
  */
 public function transformValue($value)
 {
     return $this->imageHelper->getImage($value, $this->options['filter']);
 }
 /**
  * Transforms image name to full browser path
  *
  * @param $value
  *
  * @return string
  */
 public function transform($value)
 {
     return $this->imageHelper->getImage($value, $this->filter);
 }
 public function getImagePath(string $path, string $filter) : string
 {
     return $this->helper->getImage($path, $filter);
 }