MageScan\Check\Patch\MageReport::check PHP Méthode

check() public méthode

Check if a given patch is installed
public check ( string $endpoint ) : integer
$endpoint string
Résultat integer
    public function check($endpoint)
    {
        $request = new Request(self::BASE_URL);
        $response = $request->get($endpoint . '?s=' . $this->url);
        return $this->parseResponse($response);
    }