You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for work you've done, this is outstanding framework.
While developing my application routing structure, one particular feature would be useful - if i could pass Route object directly into Router instance. This way by extending Route object it is would be possible to attach some additional data to object and use it somewhere else in application.
As i understand, this shouldn't break BC, because internally Router stores them as Route objects already.
This could be like:
class CustomRoute extends Phalcon\Mvc\Router\Route {
}
$route = new CustomRoute();
$router = new Phalcon\Mvc\Router();
$router -> add($route);
The text was updated successfully, but these errors were encountered:
First of all, thank you for work you've done, this is outstanding framework.
While developing my application routing structure, one particular feature would be useful - if i could pass Route object directly into Router instance. This way by extending Route object it is would be possible to attach some additional data to object and use it somewhere else in application.
As i understand, this shouldn't break BC, because internally Router stores them as Route objects already.
This could be like:
The text was updated successfully, but these errors were encountered: