How to return string or array? #2424
Unanswered
langziyang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for example, https://api-platform.com/docs/core/file-upload/
when the file is uploaded, __invoke will return new MediaObject().
but: if i do not have MediaObject class, i just handle file upload,and return path, how can i define the uri and return string?
Beta Was this translation helpful? Give feedback.
All reactions