\Framework\AttributesMiddlewareProviderInterface

接口:中间件提供者 任何实现了此接口的注解,都会被 Loader 自动提取并注册其对应的中间件。

Summary

Methods
Constants
getMiddleware()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getMiddleware()

getMiddleware() : string|string[]

返回该注解关联的中间件类名 (或类名数组)

Returns

string|string[] —