src/Mouf/Reflection/MoufReflectionProxy.php
public static function analyzeIncludes2($selfEdit, $forbiddenClasses) {
		$url = MoufReflectionProxy::getLocalUrlToProject()."src/direct/analyze_includes_2.php";
		/*foreach ($forbiddenClasses as $forbiddenClass) {
			$url .= "&forbiddenClasses[]=".$forbiddenClass;
		}*/	
		
		$response = self::performRequest($url, array("selfedit"=>json_encode($selfEdit), "classMap"=>json_encode($forbiddenClasses)));
	
		// Let's strip the invalid parts:
		/*$arr = explode("\nX4EVDX4SEVX548DSVDXCDSF489\n", $response);
		if (count($arr) < 2) {
			// No delimiter: there has been a crash.
			return array("errorType"=>"crash", "errorMsg"=>$response);
		}
		$msg = $arr[count($arr)-1];
	
		$obj = unserialize($msg);
	
		if ($obj === false) {
			throw new Exception("Unable to unserialize message:\n".$response."\n<br/>URL in error: <a href='".plainstring_to_htmlprotected($url)."'>".plainstring_to_htmlprotected($url)."</a>");
		}
	
		return $obj;*/
		return $response;
	}
public static function analyzeIncludes2($selfEdit, $forbiddenClasses) {
		$url = MoufReflectionProxy::getLocalUrlToProject()."src/direct/analyze_includes_2.php";
		/*foreach ($forbiddenClasses as $forbiddenClass) {
			$url .= "&forbiddenClasses[]=".$forbiddenClass;
		}*/	
		
		$response = self::performRequest($url, array("selfedit"=>json_encode($selfEdit), "classMap"=>json_encode($forbiddenClasses)));
	
		// Let's strip the invalid parts:
		/*$arr = explode("\nX4EVDX4SEVX548DSVDXCDSF489\n", $response);
		if (count($arr) < 2) {
			// No delimiter: there has been a crash.
			return array("errorType"=>"crash", "errorMsg"=>$response);
		}
		$msg = $arr[count($arr)-1];
	
		$obj = unserialize($msg);
	
		if ($obj === false) {
			throw new Exception("Unable to unserialize message:\n".$response."\n<br/>URL in error: <a href='".plainstring_to_htmlprotected($url)."'>".plainstring_to_htmlprotected($url)."</a>");
		}
	
		return $obj;*/
		return $response;
	}
public static function analyzeIncludes2 ( $ selfEdit , $ forbiddenClasses ) { $ url = MoufReflectionProxy :: getLocalUrlToProject ( ) . "src/direct/analyze_includes_2.php" ; /*foreach ($forbiddenClasses as $forbiddenClass) {
			$url .= "&forbiddenClasses[]=".$forbiddenClass;
		}*/ $ response = self :: performRequest ( $ url , array ( "selfedit" => json_encode ( $ selfEdit ) , "classMap" => json_encode ( $ forbiddenClasses ) ) ) ; // Let's strip the invalid parts:
 /*$arr = explode("\nX4EVDX4SEVX548DSVDXCDSF489\n", $response);
		if (count($arr) < 2) {
			// No delimiter: there has been a crash.
			return array("errorType"=>"crash", "errorMsg"=>$response);
		}
		$msg = $arr[count($arr)-1];
	
		$obj = unserialize($msg);
	
		if ($obj === false) {
			throw new Exception("Unable to unserialize message:\n".$response."\n<br/>URL in error: <a href='".plainstring_to_htmlprotected($url)."'>".plainstring_to_htmlprotected($url)."</a>");
		}
	
		return $obj;*/ return $ response ; }
Analyzes the include files.

@param string $selfEdit
@throws Exception
Analyzes the include files .