Replies: 1 comment 4 replies
-
Try to check if $model = new FooModel();
$model->assign(['source' => 1]);
if (!$model->create) {
foreach ($model->getMessages() as $error) {
echo (string)$error;
}
} |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
create or update the
source
field does not change,Please talk about how to resolve keyword conflictsPhalcon version 4.0.0
PHP Version 7.4
Beta Was this translation helpful? Give feedback.
All reactions