src/Mouf/MoufManager.php
private function generateGetterString($instanceName) {
		$modInstance = str_replace(" ", "", $instanceName);
		$modInstance = str_replace("\n", "", $modInstance);
		$modInstance = str_replace("-", "", $modInstance);
		$modInstance = str_replace(".", "_", $modInstance);
		// Let's remove anything that is not an authorized character:
		$modInstance = preg_replace("/[^A-Za-z0-9_]/", "", $modInstance);


		return "get".strtoupper(substr($modInstance,0,1)).substr($modInstance,1);
	}
private function generateGetterString($instanceName) {
		$modInstance = str_replace(" ", "", $instanceName);
		$modInstance = str_replace("\n", "", $modInstance);
		$modInstance = str_replace("-", "", $modInstance);
		$modInstance = str_replace(".", "_", $modInstance);
		// Let's remove anything that is not an authorized character:
		$modInstance = preg_replace("/[^A-Za-z0-9_]/", "", $modInstance);


		return "get".strtoupper(substr($modInstance,0,1)).substr($modInstance,1);
	}
private function generateGetterString ( $ instanceName ) { $ modInstance = str_replace ( " " , "" , $ instanceName ) ; $ modInstance = str_replace ( "\n" , "" , $ modInstance ) ; $ modInstance = str_replace ( "-" , "" , $ modInstance ) ; $ modInstance = str_replace ( "." , "_" , $ modInstance ) ; // Let's remove anything that is not an authorized character:
 $ modInstance = preg_replace ( "/[^A-Za-z0-9_]/" , "" , $ modInstance ) ; return "get" . strtoupper ( substr ( $ modInstance , 0 , 1 ) ) . substr ( $ modInstance , 1 ) ; }
Generate the string for the getter by uppercasing the first character and prepending "get".

@param string $instanceName
@return string
Generate the string for the getter by uppercasing the first character and prepending get .