EricMakesStuff\ServerMonitor\Monitors\HttpPingMonitor::checkResponseContains PHP Method

checkResponseContains() protected method

protected checkResponseContains ( $html, $phrase )
    protected function checkResponseContains($html, $phrase)
    {
        if (!$phrase) {
            return true;
        }
        $this->responseContainsPhrase = str_contains($html, $phrase);
        return $this->responseContainsPhrase;
    }