src/Builder.php
protected function filterPath($absolutePath)
    {
        // Unresolved paths with '..' are invalid
        if (Str::contains($absolutePath, '..')) return false;
        return Str::startsWith($absolutePath, $this->outputdir . '/');
    }
protected function filterPath($absolutePath)
    {
        // Unresolved paths with '..' are invalid
        if (Str::contains($absolutePath, '..')) return false;
        return Str::startsWith($absolutePath, $this->outputdir . '/');
    }
protected function filterPath ( $ absolutePath ) { // Unresolved paths with '..' are invalid if ( Str :: contains ( $ absolutePath , '..' ) ) return false ; return Str :: startsWith ( $ absolutePath , $ this -> outputdir . '/' ) ; }
Check that the destination path is somewhere we can write to
@param string $absolutePath
@return boolean
Check that the destination path is somewhere we can write to