You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							29 lines
						
					
					
						
							771 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							29 lines
						
					
					
						
							771 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								declare(strict_types=1);
							 | 
						|
								/**
							 | 
						|
								 * This file is part of Hyperf.
							 | 
						|
								 *
							 | 
						|
								 * @link     https://www.hyperf.io
							 | 
						|
								 * @document https://doc.hyperf.io
							 | 
						|
								 * @contact  group@hyperf.io
							 | 
						|
								 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
							 | 
						|
								 */
							 | 
						|
								ini_set('display_errors', 'on');
							 | 
						|
								ini_set('display_startup_errors', 'on');
							 | 
						|
								
							 | 
						|
								error_reporting(E_ALL);
							 | 
						|
								date_default_timezone_set('Asia/Shanghai');
							 | 
						|
								
							 | 
						|
								! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
							 | 
						|
								! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
							 | 
						|
								
							 | 
						|
								Swoole\Runtime::enableCoroutine(true);
							 | 
						|
								
							 | 
						|
								require BASE_PATH . '/vendor/autoload.php';
							 | 
						|
								
							 | 
						|
								Hyperf\Di\ClassLoader::init();
							 | 
						|
								
							 | 
						|
								$container = require BASE_PATH . '/config/container.php';
							 | 
						|
								
							 | 
						|
								$container->get(Hyperf\Contract\ApplicationInterface::class);
							 |