I'm building huge API RESTful application with Phalcon, my application doesn't have any views at all. Every request is replayed in JSON format. I don't need views at all, but when I´m deleting the view registration from service.php I got error
'Service 'view' was not found in the dependency injection container
which is OK because in the index.php file :
I saw that I can use Phalcon\Mvc\Micro(); but this is not good enough for me because my application in not Micro :)
Also I know that I can disable view e.g :
but I don't want to use it all
My question is how/is it possible to use \Phalcon\Mvc\Application($di) without to use views?