VCR\Configuration::setWhiteList PHP Method

setWhiteList() public method

Sets a list of paths to whitelist when processing in the StreamProcessor.
public setWhiteList ( string | array $paths ) : Configuration
$paths string | array Single path or list of path which are whitelisted.
return Configuration
    public function setWhiteList($paths)
    {
        $paths = is_array($paths) ? $paths : array($paths);
        $this->whiteList = $paths;
        return $this;
    }