public function toStream()
    {
        if (!\is_resource($this->process)) {
            $this->process = \proc_open('/usr/bin/env tar c .', [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory);
            $this->stream = $pipes[1];
        }

        return $this->stream;
    }
public function toStream()
    {
        if (!\is_resource($this->process)) {
            $this->process = \proc_open('/usr/bin/env tar c .', [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory);
            $this->stream = $pipes[1];
        }

        return $this->stream;
    }
public function toStream ( ) { if ( ! \ is_resource ( $ this -> process ) ) { $ this -> process = \ proc_open ( '/usr/bin/env tar c .' , [ [ 'pipe' , 'r' ] , [ 'pipe' , 'w' ] , [ 'pipe' , 'w' ] ] , $ pipes , $ this -> directory ) ; $ this -> stream = $ pipes [ 1 ] ; } return $ this -> stream ; }
Return a stream for this context.

@return resource Stream resource in memory
Return a stream for this context .