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