Zhamao Framework 3.2.4
A high-performance chatbot + web framework
载入中...
搜索中...
未找到
Pipeline类 参考

Public 成员函数

 send (mixed $value)
 
 through (array $middlewares)
 
 then (callable $callback)
 

详细描述

Pipeline Inspired by Laravel Framework

成员函数说明

◆ send()

send ( mixed  $value)

向管道发送数据

参数
mixed$value数据

◆ then()

then ( callable  $callback)

接下来要调用的内容

参数
callable$callback然后调用一个什么东西
返回
null|mixed 返回调用结果或null
异常
InvalidArgumentException
函数调用图:

◆ through()

through ( array  $middlewares)

指定要过的中间件列表

参数
array$middlewares要过的中间件(或者叫兼容管道的中间件也行)列表

该类的文档由以下文件生成: