src/Conversion/Conversion.php
public function setManipulations($manipulations) : self
    {
        if ($manipulations instanceof Manipulations) {
            $this->manipulations = $this->manipulations->mergeManipulations($manipulations);
        }

        if (is_callable($manipulations)) {
            $manipulations($this->manipulations);
        }

        return $this;
    }
public function setManipulations($manipulations) : self
    {
        if ($manipulations instanceof Manipulations) {
            $this->manipulations = $this->manipulations->mergeManipulations($manipulations);
        }

        if (is_callable($manipulations)) {
            $manipulations($this->manipulations);
        }

        return $this;
    }
public function setManipulations ( $ manipulations ) : self { if ( $ manipulations instanceof Manipulations ) { $ this -> manipulations = $ this -> manipulations -> mergeManipulations ( $ manipulations ) ; } if ( is_callable ( $ manipulations ) ) { $ manipulations ( $ this -> manipulations ) ; } return $ this ; }
Set the manipulations for this conversion.

@param \Spatie\Image\Manipulations|closure $manipulations

@return $this
Set the manipulations for this conversion .