message-notify/test/bootstrap.php

13 lines
328 B
PHP
Raw Normal View History

2022-10-27 08:30:53 +00:00
<?php
declare(strict_types=1);
use Hyperf\Di\Container;
use Hyperf\Di\Definition\DefinitionSourceFactory;
use Hyperf\Utils\ApplicationContext;
! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
$container = new Container((new DefinitionSourceFactory(true))());
ApplicationContext::setContainer($container);