Automattic\WooCommerce\Internal\DependencyManagement

Definition::invokeMethods()protectedWC 1.0

Invoke methods on resolved instance, including 'init'.

Method of the class: Definition{}

No Hooks.

Return

Object.

Usage

// protected - for code of main (parent) or child class
$result = $this->invokeMethods( $instance );
$instance(object) (required)
The concrete to invoke methods on.

Definition::invokeMethods() code WC 8.6.1

protected function invokeMethods( $instance ) {
	$this->invokeInit( $instance );
	parent::invokeMethods( $instance );
	return $instance;
}