Good afternoon, please can you help me to find solution, if i need to load model ?
For example i need to update model and call method of this model:
$user = \User::load($id);
$user->update_method( $field );
$user -> save();
In case if I use \User::findFirst() - returns \Phalcon\Mvc\Model and there is no way to call "update_method()" from "User" model.
If I use $this->modelsManager->createBuilder()->from('Users') - it returns Phalcon\Mvc\Model\Resultset\Simple.
Is there any way to get in result \User with loaded parameters ?