phpvms/resources/stubs/modules/middleware.stub

22 lines
356 B
Plaintext
Raw Normal View History

2017-12-02 04:34:37 +08:00
<?php
namespace $NAMESPACE$;
use Closure;
use Illuminate\Http\Request;
class $CLASS$
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(Request $request, Closure $next)
{
return $next($request);
}
}