public static function create(array $headers, array $entries)
    {
        $result  = new QueryTablesResult();
        $headers = array_change_key_case($headers);

        $result->setTables($entries);

        $nextTableName = Utilities::tryGetValue(
            $headers,
            Resources::X_MS_CONTINUATION_NEXTTABLENAME
        );

        if ($nextTableName != null) {
            $result->setContinuationToken(
                new TableContinuationToken(
                    $nextTableName,
                    '',
                    '',
                    Utilities::getLocationFromHeaders($headers)
                )
            );
        }

        return $result;
    }
public static function create(array $headers, array $entries)
    {
        $result  = new QueryTablesResult();
        $headers = array_change_key_case($headers);

        $result->setTables($entries);

        $nextTableName = Utilities::tryGetValue(
            $headers,
            Resources::X_MS_CONTINUATION_NEXTTABLENAME
        );

        if ($nextTableName != null) {
            $result->setContinuationToken(
                new TableContinuationToken(
                    $nextTableName,
                    '',
                    '',
                    Utilities::getLocationFromHeaders($headers)
                )
            );
        }

        return $result;
    }
public static function create ( array $ headers , array $ entries ) { $ result = new QueryTablesResult ( ) ; $ headers = array_change_key_case ( $ headers ) ; $ result -> setTables ( $ entries ) ; $ nextTableName = Utilities :: tryGetValue ( $ headers , Resources :: X_MS_CONTINUATION_NEXTTABLENAME ) ; if ( $ nextTableName != null ) { $ result -> setContinuationToken ( new TableContinuationToken ( $ nextTableName , '' , '' , Utilities :: getLocationFromHeaders ( $ headers ) ) ) ; } return $ result ; }
Creates new QueryTablesResult object

@param array $headers The HTTP response headers
@param array $entries The table entriess

@internal

@return QueryTablesResult
Creates new QueryTablesResult object