Automattic\WooCommerce\Internal\DependencyManagement
RuntimeContainer::__construct()
Initializes a new instance of the class.
Метод класса: RuntimeContainer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$RuntimeContainer = new RuntimeContainer(); $RuntimeContainer->__construct( $initial_resolved_cache );
- $initial_resolved_cache(массив) (обязательный)
- Dictionary of class name => instance, to be used as the starting point for the resolved classes cache.
Код RuntimeContainer::__construct() RuntimeContainer:: construct WC 9.5.1
public function __construct( array $initial_resolved_cache ) { $this->initial_resolved_cache = $initial_resolved_cache; $this->resolved_cache = $initial_resolved_cache; }