Automattic\WooCommerce\Vendor\League\Container
ContainerAwareInterface::setLeagueContainer()
Set a container. This will be removed in favour of setContainer receiving Container in next major release.
Method of the class: ContainerAwareInterface{}
No Hooks.
Return
self
.
Usage
$ContainerAwareInterface = new ContainerAwareInterface(); $ContainerAwareInterface->setLeagueContainer( $container ) : self;
- $container(Container) (required)
- -
ContainerAwareInterface::setLeagueContainer() ContainerAwareInterface::setLeagueContainer code WC 9.7.1
public function setLeagueContainer(Container $container) : self;