Domain\Classroom\Http\Requests\AssociateMatterRequest::authorize PHP Méthode

authorize() public méthode

Determine if the user is authorized to make this request.
public authorize ( ) : boolean
Résultat boolean
    public function authorize()
    {
        return Classroom::where('id', $this->route('classroom_id'))->exists();
    }
AssociateMatterRequest