phalcon-rest
phalcon-rest copied to clipboard
Example Model
Implement an example controller using Phalcon ORM models and the query builder.
it said controller not found when I tried to implement a model, anyone knows the reason?
Nothing? Calling a model in the controller. with me not work. Does anyone know the problem?
You have to put this at the top of your controller where you wand to use the model: use \PhalconRest\Models{{ Name of your model }};