PHP Class Owl\Http\Requests\UserUpdateRequest

Inheritance: extends Owl\Http\Requests\Request
Show file Open project: owl/owl

Protected Properties

Property Type Description
$userService

Public Methods

Method Description
__construct ( UserService $userService )
authorize ( ) : boolean Determine if the user is authorized to make this request.
rules ( ) : array Get the validation rules that apply to the request.

Method Details

__construct() public method

public __construct ( UserService $userService )
$userService Owl\Services\UserService

authorize() public method

Determine if the user is authorized to make this request.
public authorize ( ) : boolean
return boolean

rules() public method

Get the validation rules that apply to the request.
public rules ( ) : array
return array

Property Details

$userService protected property

protected $userService