public function setStripPathRegex($stripPathRegex)
    {
        if ($stripPathRegex && @preg_match($stripPathRegex, null) === false) {
            throw new InvalidArgumentException('Invalid strip path regex: '.$stripPathRegex);
        }

        $this->stripPathRegex = $stripPathRegex;
    }
public function setStripPathRegex($stripPathRegex)
    {
        if ($stripPathRegex && @preg_match($stripPathRegex, null) === false) {
            throw new InvalidArgumentException('Invalid strip path regex: '.$stripPathRegex);
        }

        $this->stripPathRegex = $stripPathRegex;
    }
public function setStripPathRegex ( $ stripPathRegex ) { if ( $ stripPathRegex && @ preg_match ( $ stripPathRegex , null ) === false ) { throw new InvalidArgumentException ( 'Invalid strip path regex: ' . $ stripPathRegex ) ; } $ this -> stripPathRegex = $ stripPathRegex ; }
Set the regular expression used to strip paths from stacktraces.

@param string|null $stripPathRegex

@return void
Set the regular expression used to strip paths from stacktraces .