Neos\Media\Domain\Model\ImageVariant::addAdjustments PHP Метод

addAdjustments() публичный Метод

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
Результат void
    public function addAdjustments(array $adjustments)
    {
        foreach ($adjustments as $adjustment) {
            $this->applyAdjustment($adjustment);
        }
        $this->refresh();
    }