WordPress at a glance
function is not described

Automattic\WooCommerce\Vendor\League\Container

Container::delegate() public WC 1.0

Delegate a backup container to be checked for services if it cannot be resolved via this container.

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

No Hooks.

Return

self.

Usage

$Container = new Container();
$Container->delegate( $container ) : self;
$container(Containerinterface) (required)
-

Code of Container::delegate() WC 5.0.0

<?php
public function delegate(ContainerInterface $container) : self
{
    $this->delegates[] = $container;

    if ($container instanceof ContainerAwareInterface) {
        $container->setLeagueContainer($this);
    }

    return $this;
}