Automattic\WooCommerce
Container::get()
Finds an entry of the container by its identifier and returns it. See the comment about ContainerException in RuntimeContainer::get.
Method of the class: Container{}
No Hooks.
Return
Mixed
. Resolved entry.
Usage
$Container = new Container(); $Container->get( $id );
- $id(string) (required)
- Identifier of the entry to look for.
Container::get() Container::get code WC 9.6.1
public function get( string $id ) { return $this->container->get( $id ); }