swoole-framwork/test.php

12 lines
248 B
PHP
Raw Normal View History

2024-05-20 11:51:07 +08:00
<?php
require_once __DIR__.'/vendor/autoload.php';
use baihand\core\BeanFactory;
BeanFactory::init();
/*$myRedis = ClassFactory::getBean(MyRedis::class);
var_dump($myRedis);
$myRedis = ClassFactory::getBean(MyUser::class);
var_dump($myRedis);*/