Arcanedev\LogViewer\Entities\LogEntry::toJson PHP Метод

toJson() публичный Метод

Convert the log entry to its JSON representation.
public toJson ( integer $options ) : string
$options integer
Результат string
    public function toJson($options = 0)
    {
        return json_encode($this->toArray(), $options);
    }