src/Conversion/Conversion.php
public function addAsFirstManipulations(Manipulations $manipulations) : self
    {
        $manipulationSequence = $manipulations->getManipulationSequence()->toArray();

        $this->manipulations
            ->getManipulationSequence()
            ->mergeArray($manipulationSequence);

        return $this;
    }
public function addAsFirstManipulations(Manipulations $manipulations) : self
    {
        $manipulationSequence = $manipulations->getManipulationSequence()->toArray();

        $this->manipulations
            ->getManipulationSequence()
            ->mergeArray($manipulationSequence);

        return $this;
    }
public function addAsFirstManipulations ( Manipulations $ manipulations ) : self { $ manipulationSequence = $ manipulations -> getManipulationSequence ( ) -> toArray ( ) ; $ this -> manipulations -> getManipulationSequence ( ) -> mergeArray ( $ manipulationSequence ) ; return $ this ; }
Add the given manipulations as the first ones.

@param \Spatie\Image\Manipulations $manipulations

@return $this
Add the given manipulations as the first ones .