public function viewData(ProcessBuilder $processBuilder, $data)
    {
        $proc = $processBuilder->setPrefix($this->_pagerCommand)->setInput($data)->getProcess();
        $proc->setTty(true)->run();

        return $proc;
    }
public function viewData(ProcessBuilder $processBuilder, $data)
    {
        $proc = $processBuilder->setPrefix($this->_pagerCommand)->setInput($data)->getProcess();
        $proc->setTty(true)->run();

        return $proc;
    }
public function viewData ( ProcessBuilder $ processBuilder , $ data ) { $ proc = $ processBuilder -> setPrefix ( $ this -> _pagerCommand ) -> setInput ( $ data ) -> getProcess ( ) ; $ proc -> setTty ( true ) -> run ( ) ; return $ proc ; }
View the given data using the symfony process builder to build the
symfony process to execute.

@api
@param \Symfony\Component\Process\ProcessBuilder $processBuilder The
process builder.
@param string $data The data to view.
@return \Symfony\Component\Process\Process The already-executed process.
View the given data using the symfony process builder to build the symfony process to execute .