Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::setShared()publicWC 1.0

{@inheritdoc}

Method of the class: Definition{}

No Hooks.

Return

null. Nothing.

Usage

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

Definition::setShared() code WC 7.1.0

public function setShared(bool $shared = true) : DefinitionInterface
{
    $this->shared = $shared;

    return $this;
}