Im new to phalconphp and know the basics about php, im trying to learn phalconphp because it's awesome. I read through some documentation and followed a few tutorials. I made myself a skeleton with use of the tutorial but now something is driving me crazy.
I tried to use model::getLast(); but it doesn't work. Whenever I use Model::findFirst(); it works correctly but when I try to use model::getLast(); the word "getLast" gets marked and it says the following: "Method 'GetLast' not found in Model" "Referenced method is not found in subject class". (using phpstorm)
I have downloaded the latest phalcon devtools and installed it as an external library. Maybe im missing something but I find it odd that findfirst is working and getlast isn't. I Hope I gave enough information about my problem since im pretty new to this.