Automattic\WooCommerce\Vendor\League\Container
Container::delegate()
Delegate a backup container to be checked for services if it cannot be resolved via this container.
Method of the class: Container{}
No Hooks.
Return
self
.
Usage
$Container = new Container(); $Container->delegate( $container ) : self;
- $container(ContainerInterface) (required)
- -
Container::delegate() Container::delegate code WC 8.6.1
public function delegate(ContainerInterface $container) : self { $this->delegates[] = $container; if ($container instanceof ContainerAwareInterface) { $container->setLeagueContainer($this); } return $this; }