public static function __getInstance($string)
    {
        $engine = self::detectBank($string);
        $engine->loadString($string);

        return $engine;
    }
public static function __getInstance($string)
    {
        $engine = self::detectBank($string);
        $engine->loadString($string);

        return $engine;
    }
public static function __getInstance ( $ string ) { $ engine = self :: detectBank ( $ string ) ; $ engine -> loadString ( $ string ) ; return $ engine ; }
reads the firstline of the string to guess which engine to use for parsing.

@param string $string

@return Engine
reads the firstline of the string to guess which engine to use for parsing .