Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
save() {
let manyArray = this;
let promiseLabel = 'DS: ManyArray#save ' + get(this, 'type');
let promise = all(this.invoke('save'), promiseLabel).then(
() => manyArray,
null,
'DS: ManyArray#save return ManyArray'
);
return PromiseArray.create({ promise });
},