Beginner to phalcon framework... I followed framework documentation of phalcon to create an sample project which is having multi module file structure. Where it contained module based "views" folder like below.
- phalco-test
- application
- config
- modules.config.php
- config
- module
- register
- controllers
- models
- views
- Module.php
- default
- controllers
- models
- views
- Module.php
- register
- public
- .htaccess
- index.php
- application
Able to setup and run the application, my query is, in documentation the application handling method doesn't contain request uri as parameter
echo $application->handle()->getContent();
If we won't pass the request uri, like below
$requestUri = str_replace( $_SERVER["SCRIPT_NAME"], '', $_SERVER["REQUEST_URI"]);
echo $application->handle($requestUri)->getContent();
always it will go to default controller action.. Did i missed anything or we need pass uri to work with different routes? how does it work?