Automattic\WooCommerce\Vendor\League\Container\Definition
Definition::setShared()
{@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() Definition::setShared code WC 8.6.1
public function setShared(bool $shared = true) : DefinitionInterface { $this->shared = $shared; return $this; }