Domain\Student\Http\Requests\SyncMattersCompletedsRequest::authorize PHP Метод

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

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