private checkIfPathContainsIgnoredWord ( string $path ) : boolean | ||
$path | string | |
리턴 | boolean | Path contains a to-be-ignored word. |
private function checkIfPathContainsIgnoredWord($path)
{
foreach ($this->ignoreList as $ignoreItem) {
if (mb_stripos($path, $ignoreItem) !== false) {
return true;
}
}
return false;
}