EricMakesStuff\ServerMonitor\Monitors\HttpPingMonitor::checkResponseContains PHP 메소드

checkResponseContains() 보호된 메소드

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