Neos\Media\Domain\Model\ImageVariant::addAdjustments PHP Method

addAdjustments() public method

If an adjustment of one of the given types already exists, the existing one will be overridden by the new one.
public addAdjustments ( array $adjustments ) : void
$adjustments array
return void
    public function addAdjustments(array $adjustments)
    {
        foreach ($adjustments as $adjustment) {
            $this->applyAdjustment($adjustment);
        }
        $this->refresh();
    }