Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Command::show_difference( $slug,  $difference )

Visually depict the difference between “dictated” and “current”


Parameters Parameters

(array) (Required)


Top ↑

Source Source

File: libraries/lifterlms-cli/src/Commands/Restful/Command.php

	private function show_difference( $slug, $difference ) {
		$this->output_nesting_level = 0;
		$this->nested_line( $slug . ': ' );
		$this->recursively_show_difference( $difference['to'], $difference['from'] );
		$this->output_nesting_level = 0;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.