Example #1
0
 /**
  * Check all patches
  *
  * @return array
  */
 public function checkAll()
 {
     $results = [];
     $request = new Request(self::BASE_URL);
     $paths = $this->patches;
     array_walk($paths, function (&$value) {
         $value = $value . '?s=' . $this->url;
     });
     $responses = $request->getMany($paths);
     foreach ($responses as $path => $response) {
         $results[$this->getPatchName($path)] = $this->parseResponse($response);
     }
     return $results;
 }