WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionInterface::setShared() public WC 1.0

Set whether this is a shared definition.

{} It's a method of the class: DefinitionInterface{}

No Hooks.

Return

self.

Usage

$DefinitionInterface = new DefinitionInterface();
$DefinitionInterface->setShared( $shared ) : DefinitionInterface;
$shared *(true false) (required)*

Code of DefinitionInterface::setShared() WC 5.8.0

public function setShared(bool $shared) : DefinitionInterface;