Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::setShared()publicWC 1.0

{@inheritdoc}

Method of the class: Definition{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Definition::setShared() code WC 8.6.1

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

    return $this;
}