Controller Routes in Shopware 6.6.0.0-rc3

so, jetzt hab ichs endlich rausgefunden.

In Symfony 7 werden die Routes über type „attribute“ registriert statt „annotions“
routes.xml: <import resource="../../Controller/**/*Controller.php" type="attribute" />

Im Controller:
vorher: use Symfony\Component\Routing\Annotation\Route;
nachher: use Symfony\Component\Routing\Attribute\Route;

Wäre auch schön gewesen, wenn das mal für den jeweiligen Branch kommuniziert gewesen wäre, bevor man sich einen Wolf sucht…
hier wird unter 6.6 noch die alte Implementierung kommunziert …

3 „Gefällt mir“