Hi,
I am totally newbie at Phalcon. Can someone show me an Dependency injection example when, for example, some model instance is injected into controller? I was trying to do this by examples all evening, but I failed. :((
Very thanks!
P. S. And please, type a files names above examples codes. :) It would be very helpful to understand easier, which file is controller, which is model, which is service.