* @link https://www.oxidmodule.com */ declare(strict_types=1); use D3\DIContainerHandler\d3DicException; use D3\DIContainerHandler\d3DicHandler; use Symfony\Component\DependencyInjection\Container; /** * @return Container * @throws d3DicException */ function d3GetOxidDIC_withExceptions(): Container { return d3DicHandler::getInstance(); } /** * @return Container */ function d3GetOxidDIC(): Container { try { return d3GetOxidDIC_withExceptions(); // @codeCoverageIgnoreStart } catch (d3DicException $exception) { trigger_error($exception->getMessage(), E_USER_ERROR); } // @codeCoverageIgnoreEnd }