Domain\Employee\Http\Requests\UpdateRequest::authorize PHP Метод

authorize() публичный Метод

Determine if the user is authorized to make this request.
public authorize ( ) : boolean
Результат boolean
    public function authorize()
    {
        $id = $this->route('employee');
        return Employee::where('id', $id)->exists();
    }
UpdateRequest