Automattic\WooCommerce
Container::get()
Finds an entry of the container by its identifier and returns it. See the comment about ContainerException in RuntimeContainer::get.
Метод класса: Container{}
Хуков нет.
Возвращает
Разное
. Resolved entry.
Использование
$Container = new Container(); $Container->get( $id );
- $id(строка) (обязательный)
- Identifier of the entry to look for.
Код Container::get() Container::get WC 9.6.0
public function get( string $id ) { return $this->container->get( $id ); }