first commit
This commit is contained in:
16
Swoft_BackEndApi/app/Bean/TestBean.php
Normal file
16
Swoft_BackEndApi/app/Bean/TestBean.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\Bean;
|
||||
|
||||
use Swoft\Bean\Annotation\Mapping\Bean;
|
||||
|
||||
/**
|
||||
* @Bean("test")
|
||||
* @package App\Bean
|
||||
*/
|
||||
class TestBean {
|
||||
public function hello () {
|
||||
return "ddcdcdefefe";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user