src/Parser.php
protected function createWorkingDir()
    {
        $uuid = Uuid::generate(4);
        $this->tempPath = "/tmp/abuseio-{$uuid}/";
        $this->fs = new Filesystem;

        if (!$this->fs->makeDirectory($this->tempPath)) {
            return $this->failed("Unable to create directory {$this->tempPath}");
        }

        return true;
    }
protected function createWorkingDir()
    {
        $uuid = Uuid::generate(4);
        $this->tempPath = "/tmp/abuseio-{$uuid}/";
        $this->fs = new Filesystem;

        if (!$this->fs->makeDirectory($this->tempPath)) {
            return $this->failed("Unable to create directory {$this->tempPath}");
        }

        return true;
    }
protected function createWorkingDir ( ) { $ uuid = Uuid :: generate ( 4 ) ; $ this -> tempPath = "/tmp/abuseio-{$uuid}/" ; $ this -> fs = new Filesystem ; if ( ! $ this -> fs -> makeDirectory ( $ this -> tempPath ) ) { return $ this -> failed ( "Unable to create directory {$this->tempPath}" ) ; } return true ; }
Setup a working directory for the parser
@return boolean Returns true or call $this->failed()
Setup a working directory for the parser