Replace the old back end paths
protected static replaceOldBePaths ( string $strContext ) : string | ||
$strContext | string | The context |
return | string | The modified context |
/** * Convert a string to a response object * * @param string $str * * @return Response */ protected function convertToResponse($str) { return new Response(\Controller::replaceOldBePaths($str)); }