Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite the page annotation to follow the Route annotation (see #1973)
Description ----------- | Q | A | -----------------| --- | Fixed issues | Fixes #1971 This is mostly about allowing a string for methods, same as Symfony does. There are two use cases: ```php // Custom page controller /** * @page(methods="GET") */ class MyPageController { } ``` ```yaml // services.yml services: App\Controller\Page\MyPageController: tags: - { name: 'contao.page', methods: 'GET' } ``` Commits ------- 1508e96 Rewrite the page annotation to follow the Route annotation 7cc0deb Fixed type information fc3d9a8 CS d4b1ab4 CS 526ae58 Merge branch '4.10' into bugfix/route-config 519f9f1 CS
- Loading branch information
Showing
4 changed files
with
174 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters