I'm studying Phalcon and got stuck on the best way to access the Dependency Injection container from inside a controller.

From inside the controller, I see a variable in my debugger..


but I also had success relying on MAGIC methods like this....


Am I supposed to use the MAGIC methods approach?