src/ApiApplication.php
private function postProcessing(JsonResponse $response) {
		$apiUrl = $this->getServiceContainer()->getPreferenceLoader()->getSystemPreferences()->getApiUrl();
		$response->setContent(str_replace('%apiurl%', $apiUrl, $response->getContent()));
		return $response;
	}
private function postProcessing(JsonResponse $response) {
		$apiUrl = $this->getServiceContainer()->getPreferenceLoader()->getSystemPreferences()->getApiUrl();
		$response->setContent(str_replace('%apiurl%', $apiUrl, $response->getContent()));
		return $response;
	}
private function postProcessing ( JsonResponse $ response ) { $ apiUrl = $ this -> getServiceContainer ( ) -> getPreferenceLoader ( ) -> getSystemPreferences ( ) -> getApiUrl ( ) ; $ response -> setContent ( str_replace ( '%apiurl%' , $ apiUrl , $ response -> getContent ( ) ) ) ; return $ response ; }
Some post processing on the generated result. Replacing some variables.

@param JsonResponse $response
@return JsonResponse
Some post processing on the generated result . Replacing some variables .