We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Either the following 2 controllers defining the routes bar1, bar2 and bar3:
namespace controllers; /** * Controller AController */ class AController extends ControllerBase { public function index() {} /** * @route("bar3") */ public function bar3() { echo "bar3"; } }
namespace controllers; /** * Controller BController */ class BController extends ControllerBase { public function index() {} /** * @route("bar1","priority"=>500) */ public function bar1() { echo "bar1"; } /** * @route("bar2","priority"=>1000) */ public function bar2() { echo "bar2"; } }
Taking into account the prority, these routes must be registered in order:
The priority applies only within each controller.
The text was updated successfully, but these errors were encountered:
5c03cc9
jcheron
No branches or pull requests
Steps
Either the following 2 controllers defining the routes bar1, bar2 and bar3:
Expected Result
Taking into account the prority, these routes must be registered in order:
Actual Result
Versions
The text was updated successfully, but these errors were encountered: