Model findFirst how to convert to array #16079
Answered
by
niden
zeroone2005
asked this question in
Q&A
-
Model findFirst function return \Phalcon\Mvc\ModelInterface|null , but how to convert to array |
Beta Was this translation helpful? Give feedback.
Answered by
niden
Aug 31, 2022
Replies: 1 comment 1 reply
-
Try |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zeroone2005
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
$result->toArray()