private function _isScannable($path)
    {
        $extensionPos = strrpos($path, '.');
        if ($extensionPos === false) {
            return false;
        }
        if (substr($path, $extensionPos, 4) != '.php') {
            return false;
        }
        return true;
    }
private function _isScannable($path)
    {
        $extensionPos = strrpos($path, '.');
        if ($extensionPos === false) {
            return false;
        }
        if (substr($path, $extensionPos, 4) != '.php') {
            return false;
        }
        return true;
    }
private function _isScannable ( $ path ) { $ extensionPos = strrpos ( $ path , '.' ) ; if ( $ extensionPos === false ) { return false ; } if ( substr ( $ path , $ extensionPos , 4 ) != '.php' ) { return false ; } return true ; }
Returns true if the given filesystem entry is interesting to scan.

@param string $path Filesystem entry.
Returns true if the given filesystem entry is interesting to scan .