WP_CLI\Dispatcher

CompositeCommand::get_parent()publicWP-CLI 1.0

Get the parent composite (or root) command

Method of the class: CompositeCommand{}

No Hooks.

Return

Mixed.

Usage

$CompositeCommand = new CompositeCommand();
$CompositeCommand->get_parent();

CompositeCommand::get_parent() code WP-CLI 2.8.0-alpha

public function get_parent() {
	return $this->parent;
}