/** * {@inheritdoc} */ public function apply(ImageInterface $image) { return $image->resize(call_user_func(array($image->getSize(), $this->method), $this->parameter)); }
/** * {@inheritdoc} */ public function apply(ImageInterface $image) { return $image->resize($this->size, $this->filter); }