PHP 클래스 App\Http\Controllers\ProfilesController

상속: extends Controller
파일 보기 프로젝트 열기: jeremykenedy/laravel-auth 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$auth |
$userRepository

공개 메소드들

메소드 설명
__construct ( ) RUN VIEW THROUGH AUTH MIDDLWARE via the CONSTRUCTOR
edit ( $username ) : mixed profiles/username/edit
getUserByUsername ( $username ) : mixed Fetch user (You can extract this to repository method)
profile_validator ( array $data ) : Illuminate\Contracts\Validation\Validator Get a validator for an incoming registration request.
show ( $username ) : Response username
update ( $username, Illuminate\Http\Request $request ) : mixed Update a user's profile

메소드 상세

__construct() 공개 메소드

RUN VIEW THROUGH AUTH MIDDLWARE via the CONSTRUCTOR
public __construct ( )

edit() 공개 메소드

profiles/username/edit
public edit ( $username ) : mixed
$username
리턴 mixed

getUserByUsername() 공개 메소드

Fetch user (You can extract this to repository method)
public getUserByUsername ( $username ) : mixed
$username
리턴 mixed

profile_validator() 공개 메소드

Get a validator for an incoming registration request.
public profile_validator ( array $data ) : Illuminate\Contracts\Validation\Validator
$data array
리턴 Illuminate\Contracts\Validation\Validator

show() 공개 메소드

username
public show ( $username ) : Response
$username
리턴 Response

update() 공개 메소드

Update a user's profile
public update ( $username, Illuminate\Http\Request $request ) : mixed
$username
$request Illuminate\Http\Request
리턴 mixed

프로퍼티 상세

$auth 보호되어 있는 프로퍼티

|
protected $auth

$userRepository 보호되어 있는 프로퍼티

protected $userRepository