Neos\Media\TypeConverter\ProcessingInstructionsConverter::transferOptionFromCommandToAdjustment PHP 메소드

transferOptionFromCommandToAdjustment() 보호된 메소드

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