app/Http/Requests/PricePlanUpdateRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'name' => 'string',
            'is_active' => 'boolean',
            'features' => 'nullable|json',
            'restrictions' => 'nullable|json',
        ];
    }
public function rules ( ) { return [ 'name' => 'string' , 'is_active' => 'boolean' , 'features' => 'nullable|json' , 'restrictions' => 'nullable|json' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .