📜  laravel 控制器中间件示例 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:36.386000             🧑  作者: Mango

代码示例1
public function __construct()
{
  /** middleware could be single string
  * or array like this ['auth', 'admin']
  * or clouser
  */
  $this->middleware('middleware')
}