/home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src
NameSizeModeActions
Admin/-0755rm
Blocks/-0755rm
Caches/-0755rm
Caching/-0755rm
Checkout/-0755rm
Database/-0755rm
Enums/-0755rm
Gateways/-0755rm
Internal/-0755rm
LayoutTemplates/-0755rm
Proxies/-0755rm
StoreApi/-0755rm
Utilities/-0755rm
Autoloader.php20760644editdlrm
Container.php28710644editdlrm
Deprecated.php5880644editdlrm
Packages.php126980644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src/Container.php (2871B)
container = new RuntimeContainer( array( __CLASS__ => $this, 'Psr\Container\ContainerInterface' => $this, ) ); } /** * Returns an instance of the specified class. * See the comment about ContainerException in RuntimeContainer::get. * * @template T of object * @param string $id Class name. * @phpstan-param class-string $id * * @return T Object instance. * * @throws ContainerException Error when resolving the class to an object instance, or class not found. * @throws \Exception Exception thrown in the constructor or in the 'init' method of one of the resolved classes. */ public function get( string $id ) { return $this->container->get( $id ); } /** * Returns true if the container can return an instance of the given class or false otherwise. * See the comment in RuntimeContainer::has. * * @param class-string $id Class name. * * @return bool */ public function has( string $id ): bool { return $this->container->has( $id ); } }