diff --git a/README.md b/README.md index e5efb83..7ee750f 100644 --- a/README.md +++ b/README.md @@ -155,9 +155,7 @@ class BlogTransformer extends JsonResource // or - return [ - "modified_name" => $this->name . ' so Cool!' - ]; + return md5(json_encode($this->resource->toArray())); } } ```