Automattic\WooCommerce

Container::get()publicWC 1.0

Finds an entry of the container by its identifier and returns it.

Метод класса: Container{}

Хуков нет.

Возвращает

Разное. Entry.

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

$Container = new Container();
$Container->get( $id );
$id(строка) (обязательный)
Identifier of the entry to look for.

Код Container::get() WC 8.7.0

public function get( string $id ) {
	return $this->container->get( $id );
}