WordPress at a glance
function is not described

Automattic\WooCommerce\Vendor\League\Container

ContainerAwareInterface::setLeagueContainer() public WC 1.0

Set a container. This will be removed in favour of setContainer receiving Container in next major release.

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

No Hooks.

Return

self.

Usage

$ContainerAwareInterface = new ContainerAwareInterface();
$ContainerAwareInterface->setLeagueContainer( $container ) : self;
$container(Container) (required)
-

Code of ContainerAwareInterface::setLeagueContainer() WC 5.0.0

<?php
public function setLeagueContainer(Container $container) : self;