53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
|
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: []
|