oms-Monitoring/Models/Log.php
2016-08-12 15:07:59 +02:00

34 lines
444 B
PHP

<?php
class Log implements \JsonSerializable
{
private $id = 0;
private $createdAt = null;
private $createdBy = null;
private $raw = '';
private $layout = 0;
public function __construct(string $message = '', int $layout = 0)
{
}
public function get(string $key) : string
{
return '';
}
public function toArray() : array
{
return [];
}
public function jsonSerialize()
{
return json_encode($this->toArray());
}
}