Automattic\WooCommerce
Container::__construct()
Class constructor.
Метод класса: Container{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Container = new Container(); $Container->__construct();
Код Container::__construct() Container:: construct WC 9.3.3
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 ); } }