Sharing of route attributes, like middleware or even URL segments is done by route groups in Slim Fr ...