Automattic\WooCommerce
Container::__construct()
Class constructor.
Method of the class: Container{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Container = new Container(); $Container->__construct();
Container::__construct() Container:: construct code WC 9.3.1
public function __construct() { $this->container = new ExtendedContainer(); // Add ourselves as the shared instance of ContainerInterface, // register everything else using service providers. $this->container->share( __CLASS__, $this ); foreach ( $this->service_providers as $service_provider_class ) { $this->container->addServiceProvider( $service_provider_class ); } }