WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::setShared() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

null. Nothing.

Usage

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

Default: true

Code of Definition::setShared() WC 5.7.1

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

    return $this;
}