PHP 클래스 App\Http\Controllers\PasswordsController

상속: extends Controller
파일 보기 프로젝트 열기: appkr/l5essential 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Create new password controller instance.
getRemind ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View Display the form to request a password reset link.
getReset ( null $token = null ) : Illuminate\Contracts\View\Factory | Illuminate\View\View Display the password reset view for the given token.
postRemind ( Illuminate\Http\Request $request ) Send a reset link to the given user.
postReset ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | Redirector Reset the given user's password.

보호된 메소드들

메소드 설명
respondError ( $message, integer $statusCode = 400 ) : Illuminate\Http\RedirectResponse Make an error response.
respondSuccess ( $message ) : Illuminate\Http\RedirectResponse Make a success response.

메소드 상세

__construct() 공개 메소드

Create new password controller instance.
public __construct ( )

getRemind() 공개 메소드

Display the form to request a password reset link.
public getRemind ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
리턴 Illuminate\Contracts\View\Factory | Illuminate\View\View

getReset() 공개 메소드

Display the password reset view for the given token.
public getReset ( null $token = null ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
$token null
리턴 Illuminate\Contracts\View\Factory | Illuminate\View\View

postRemind() 공개 메소드

Send a reset link to the given user.
public postRemind ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

postReset() 공개 메소드

Reset the given user's password.
public postReset ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | Redirector
$request Illuminate\Http\Request
리턴 Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

respondError() 보호된 메소드

Make an error response.
protected respondError ( $message, integer $statusCode = 400 ) : Illuminate\Http\RedirectResponse
$message
$statusCode integer
리턴 Illuminate\Http\RedirectResponse

respondSuccess() 보호된 메소드

Make a success response.
protected respondSuccess ( $message ) : Illuminate\Http\RedirectResponse
$message
리턴 Illuminate\Http\RedirectResponse