private function getMessages()
    {
        $messages = [];
        $content = '';
        fseek($this->fh, 0);
        while (!feof($this->fh)) {
            $content .= fgets($this->fh);
        }
        if ($content) {
            $messages = json_decode($content, true);
        }
        return $messages;
    }
private function getMessages()
    {
        $messages = [];
        $content = '';
        fseek($this->fh, 0);
        while (!feof($this->fh)) {
            $content .= fgets($this->fh);
        }
        if ($content) {
            $messages = json_decode($content, true);
        }
        return $messages;
    }
private function getMessages ( ) { $ messages = [ ] ; $ content = '' ; fseek ( $ this -> fh , 0 ) ; while ( ! feof ( $ this -> fh ) ) { $ content .= fgets ( $ this -> fh ) ; } if ( $ content ) { $ messages = json_decode ( $ content , true ) ; } return $ messages ; }
Get action messages from log file
@return array
Get action messages from log file