src/Rocketeer/Services/History/LogsHandler.php
public function getLogs()
    {
        $realpath = (string) $this->getLogsRealpath();
        if (!$realpath) {
            return [];
        }

        $logs = trim($this->files->read($realpath));
        $logs = explode(PHP_EOL, $logs);

        return $logs;
    }
public function getLogs()
    {
        $realpath = (string) $this->getLogsRealpath();
        if (!$realpath) {
            return [];
        }

        $logs = trim($this->files->read($realpath));
        $logs = explode(PHP_EOL, $logs);

        return $logs;
    }
public function getLogs ( ) { $ realpath = ( string ) $ this -> getLogsRealpath ( ) ; if ( ! $ realpath ) { return [ ] ; } $ logs = trim ( $ this -> files -> read ( $ realpath ) ) ; $ logs = explode ( PHP_EOL , $ logs ) ; return $ logs ; }
Get the current logs.

@return array
Get the current logs .