Dear, I have an idea to implement a restfull service but inside MVC app. How to do that with Phalcon?
when I do like that: $application = new \Phalcon\Mvc\Application(); $application->get('/api/robots', function() { echo 'hello world'; }); It said: Fatal error: Call to undefined method Phalcon\Mvc\Application::get() in C:\xampp2\htdocs\wamserver\public\index.php on line 92