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() Definition::setShared WC 5.0.0
public function setShared(bool $shared = true) : DefinitionInterface
{
$this->shared = $shared;
return $this;
}