Automattic\WooCommerce\Vendor\League\Container

ContainerAwareInterface::setLeagueContainer()publicWC 1.0

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

{} Это метод класса: ContainerAwareInterface{}

Хуков нет.

Возвращает

self.

Использование

$ContainerAwareInterface = new ContainerAwareInterface();
$ContainerAwareInterface->setLeagueContainer( $container ) : self;
$container(Container) (обязательный)
-

Код ContainerAwareInterface::setLeagueContainer() WC 6.8.0

public function setLeagueContainer(Container $container) : self;