App\Http\Requests\API\BatchInteractionRequest::rules PHP Méthode

rules() public méthode

Get the validation rules that apply to the request.
public rules ( ) : array
Résultat array
    public function rules()
    {
        return ['songs' => 'required|array'];
    }
BatchInteractionRequest