Свойство | Type | Description | |
---|---|---|---|
$auth | | | ||
$userRepository |
Méthode | Description | |
---|---|---|
__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 |
public __construct ( ) |
public getUserByUsername ( $username ) : mixed | ||
$username | ||
Résultat | mixed |
public profile_validator ( array $data ) : Illuminate\Contracts\Validation\Validator | ||
$data | array | |
Résultat | Illuminate\Contracts\Validation\Validator |