芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/woocommerce/src/Admin/RemoteInboxNotifications/TransformerService.php
use ) ) { throw new InvalidArgumentException( 'Missing required config value: use' ); } if ( ! isset( $transformer_config->arguments ) ) { $transformer_config->arguments = null; } $transformer = self::create_transformer( $transformer_config->use ); if ( null === $transformer ) { throw new InvalidArgumentException( "Unable to find a transformer by name: {$transformer_config->use}" ); } $transformed_value = $transformer->transform( $target_value, $transformer_config->arguments, $default ); // if the transformer returns null, then return the previously transformed value. if ( null === $transformed_value ) { return $target_value; } $target_value = $transformed_value; } return $target_value; } }