Mvc\Router\Group
Class Phalcon\Mvc\Router\Group
implements Phalcon\Mvc\Router\GroupInterface
Helper class to create a group of routes with common attributes
$router = new \Phalcon\Mvc\Router(); //Create a group with a common module and controller $blog = new Group( [ "module" => "blog", "controller" => "index", ] ); //All the routes start with /blog $blog->setPrefix("/blog"); //Add a route to the group $blog->add( "/save", [ "action" => "save", ] ); //Add another route to the group $blog->add( "/edit/{id