Neos\Media\TypeConverter\ProcessingInstructionsConverter::transferOptionFromCommandToAdjustment PHP Method

transferOptionFromCommandToAdjustment() protected method

protected transferOptionFromCommandToAdjustment ( array $commandOptions, array &$adjustmentOptions, string $commandOptionPath, string $adjustmentOptionName ) : void
$commandOptions array
$adjustmentOptions array
$commandOptionPath string
$adjustmentOptionName string
return void
    protected function transferOptionFromCommandToAdjustment(array $commandOptions, array &$adjustmentOptions, $commandOptionPath, $adjustmentOptionName)
    {
        $commandOptionValue = ObjectAccess::getPropertyPath($commandOptions, $commandOptionPath);
        if ($commandOptionValue !== null) {
            ObjectAccess::setProperty($adjustmentOptions, $adjustmentOptionName, $commandOptionValue);
        }
    }