\Imi\BeanAnnotationLoader

注解加载类

Summary

Methods
Properties
Constants
loadModuleAnnotations()
enumModulePath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$loaded
N/A

Properties

$loaded

$loaded : 

Type

Methods

loadModuleAnnotations()

loadModuleAnnotations(string  $namespace, callable  $callback) : void

加载模块注解

Parameters

string $namespace
callable $callback

enumModulePath()

enumModulePath(string  $namespace, callable  $callback) : void

遍历模块目录,并调用回调

Parameters

string $namespace
callable $callback