Automattic\WooCommerce\Vendor\Psr\Container

ContainerInterface::get()publicWC 1.0

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

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

Хуков нет.

Возвращает

Разное. Entry.

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

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

Код ContainerInterface::get() WC 8.7.0

public function get(string $id);