api/laravel/Auth/Middleware/EnsureEmailIsVerified.yaml

53 lines
1.1 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: EnsureEmailIsVerified
class_comment: null
dependencies:
- name: Closure
type: class
source: Closure
- name: MustVerifyEmail
type: class
source: Illuminate\Contracts\Auth\MustVerifyEmail
- name: Redirect
type: class
source: Illuminate\Support\Facades\Redirect
- name: URL
type: class
source: Illuminate\Support\Facades\URL
properties: []
methods:
- name: redirectTo
visibility: public
parameters:
- name: route
comment: '# * Specify the redirect route for the middleware.
# *
# * @param string $route
# * @return string'
- name: handle
visibility: public
parameters:
- name: request
- name: next
- name: redirectToRoute
default: 'null'
comment: '# * Handle an incoming request.
# *
# * @param \Illuminate\Http\Request $request
# * @param \Closure $next
# * @param string|null $redirectToRoute
# * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse|null'
traits:
- Closure
- Illuminate\Contracts\Auth\MustVerifyEmail
- Illuminate\Support\Facades\Redirect
- Illuminate\Support\Facades\URL
interfaces: []