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
Hi,
is there any chance you implement a setter method for a protected property '$path' in Route class?
I would like to implement a route path localization based on desired language, but I cannot override protected property path (ie. en path "/en/home" .... sl path: "/sl/domov")? All route data stays the same (name, callable, ... ) except for a path, which I would like to change dynamically.
Please help me with a better approach or if it makes sense I can prepare PR?
Br, K
The text was updated successfully, but these errors were encountered:
ghost
changed the title
asign value to Route $path protected property
assign value to Route $path protected property
Sep 14, 2018
Hi,
is there any chance you implement a setter method for a protected property '$path' in Route class?
I would like to implement a route path localization based on desired language, but I cannot override protected property path (ie. en path "/en/home" .... sl path: "/sl/domov")? All route data stays the same (name, callable, ... ) except for a path, which I would like to change dynamically.
Please help me with a better approach or if it makes sense I can prepare PR?
Br, K
The text was updated successfully, but these errors were encountered: