swoole-framwork/start.php

9 lines
227 B
PHP
Raw Normal View History

2024-05-20 11:51:07 +08:00
<?php
require_once __DIR__.'/vendor/autoload.php';
require_once __DIR__."/app/config/define.php";
Core\BeanFactory::init();
$routerCollector= \Core\BeanFactory::getBean("RouterCollector");
var_dump($routerCollector->routes);