[TASK] Add facades for symfony/routing components 01/58401/4
authorBenni Mack <benni@typo3.org>
Wed, 26 Sep 2018 17:42:21 +0000 (19:42 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 26 Sep 2018 18:41:09 +0000 (20:41 +0200)
commitdd21882b7380c83526bcdf94abbc3109ba9305dc
tree3c02de364bdb0b9c9aa894c1f785c2770db52664
parentc137126fe1a0a4e2741396735421cda06f4f6ed6
[TASK] Add facades for symfony/routing components

We heavily rely on Symfony Routing for TYPO3 routing,
however we want to encapsulate this as much as possible
to allow us to use a different routing system if a better one
comes up.

In order to proceed with Route Enhancers we introduce
our own objects to extend them, and to typehint against
these objects in the next patches.

Some minor code preparations have been made as well.

Resolves: #86393
Releases: master
Change-Id: Id50186aa1a5ad57e097e6ff85e15d0f925bd63ef
Reviewed-on: https://review.typo3.org/58401
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Classes/Routing/PageRouter.php
typo3/sysext/core/Classes/Routing/Route.php [new file with mode: 0644]
typo3/sysext/core/Classes/Routing/RouteCollection.php [new file with mode: 0644]
typo3/sysext/core/Classes/Routing/SiteMatcher.php
typo3/sysext/core/Classes/Utility/ArrayUtility.php
typo3/sysext/core/Tests/Unit/Routing/PageRouterTest.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Middleware/PageResolver.php