'title', '#allowed_tags' => ['em']] * @endcode * If the method returns a string and it is not marked safe then it will be * auto-escaped. * * @param \Symfony\Component\HttpFoundation\Request $request * The request object passed to the title callback. * @param \Symfony\Component\Routing\Route $route * The route information of the route to fetch the title. * * @return array|string|\Stringable|null * The title for the route. */ public function getTitle(Request $request, Route $route); }