Results.php 611 Bytes
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
2
3
<?php

namespace App\MetaGer;
4
use Illuminate\Http\Request;
5
use File;
Dominik Hebeler's avatar
Dominik Hebeler committed
6
7
class Results
{
8
9
	private $fokiNames = [];
	private $fokus;
10
	function __construct ($engines)
11
	{
12
		$this->results = $this->loadResults($engines);
13
14
	}

15
	private function loadResults($engines)
16
	{
17
18
19
20
21
22
23
24
25
26
27
28
29
		# Das Laden der Ergebnisse besteht aus 2 Elementaren Schritten:
		# 1. GET-Requests abarbeiten
		# 2. Ergebnisse parsen

		# 1. GET-Requests abarbeiten
		# Wir generiern zunächst alle GET-Strings:
		$getStrings = [];
		foreach($engines as $engine)
		{
			$getStrings[] = $engine->generateGetString();
		}

		return print_r($getStrings, TRUE);
30
31
	}

Dominik Hebeler's avatar
Dominik Hebeler committed
32
}