src/Process/ProcessExecutionResult.php
public function getOutputAsArray()
    {
        $output = trim($this->getOutput());
        if (empty($output) === false) {
            return preg_split('{\r?\n}', $output);
        }

        return array();
    }
public function getOutputAsArray()
    {
        $output = trim($this->getOutput());
        if (empty($output) === false) {
            return preg_split('{\r?\n}', $output);
        }

        return array();
    }
public function getOutputAsArray ( ) { $ output = trim ( $ this -> getOutput ( ) ) ; if ( empty ( $ output ) === false ) { return preg_split ( '{\r?\n}' , $ output ) ; } return array ( ) ; }
Returns the output separated by newline as array.

@return array
Returns the output separated by newline as array .