src/VCR/Util/StreamProcessor.php
protected function isWhitelisted($uri)
    {
        $whiteList = static::$configuration->getWhiteList();

        if (empty($whiteList)) {
            return true;
        }

        $uri = $this->normalizePath($uri);

        foreach ($whiteList as $path) {
            if (strpos($uri, $path) !== false) {
                return true;
            }
        }

        return false;
    }
protected function isWhitelisted($uri)
    {
        $whiteList = static::$configuration->getWhiteList();

        if (empty($whiteList)) {
            return true;
        }

        $uri = $this->normalizePath($uri);

        foreach ($whiteList as $path) {
            if (strpos($uri, $path) !== false) {
                return true;
            }
        }

        return false;
    }
protected function isWhitelisted ( $ uri ) { $ whiteList = static :: $ configuration -> getWhiteList ( ) ; if ( empty ( $ whiteList ) ) { return true ; } $ uri = $ this -> normalizePath ( $ uri ) ; foreach ( $ whiteList as $ path ) { if ( strpos ( $ uri , $ path ) !== false ) { return true ; } } return false ; }
Determines that the provided url is member of a url whitelist.

@param string $uri

@return bool True if the specified url is whitelisted, false otherwise.
Determines that the provided url is member of a url whitelist .