Automattic\WooCommerce\Vendor\League\Container\Definition

DefinitionInterface::setShared()publicWC 1.0

Set whether this is a shared definition.

Method of the class: DefinitionInterface{}

No Hooks.

Return

self.

Usage

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

DefinitionInterface::setShared() code WC 7.1.0

public function setShared(bool $shared) : DefinitionInterface;