all(); $rules = []; if($input['action'] == 'convert_to_invoice') $rules['action'] = [new ConvertableQuoteRule()]; return $rules; } }