protected function makeFromArray(array $array) : ResourceInterface { return empty($array) ? new NullResource() : new CollectionResource($array); }