Code cleanup
This commit is contained in:
@ -1,9 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\Ardent\LoggerBundle\Entity;
|
||||
|
||||
|
||||
use DateTime;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
@ -22,7 +20,7 @@ class LogEntry
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string")
|
||||
* @ORM\Column(type="text")
|
||||
*/
|
||||
private $message;
|
||||
|
||||
@ -69,11 +67,13 @@ class LogEntry
|
||||
|
||||
/**
|
||||
* @param mixed $id
|
||||
*
|
||||
* @return LogEntry
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -87,11 +87,13 @@ class LogEntry
|
||||
|
||||
/**
|
||||
* @param mixed $message
|
||||
*
|
||||
* @return LogEntry
|
||||
*/
|
||||
public function setMessage($message)
|
||||
{
|
||||
$this->message = $message;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -105,11 +107,13 @@ class LogEntry
|
||||
|
||||
/**
|
||||
* @param mixed $context
|
||||
*
|
||||
* @return LogEntry
|
||||
*/
|
||||
public function setContext($context)
|
||||
{
|
||||
$this->context = $context;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -123,11 +127,13 @@ class LogEntry
|
||||
|
||||
/**
|
||||
* @param mixed $level
|
||||
*
|
||||
* @return LogEntry
|
||||
*/
|
||||
public function setLevel($level)
|
||||
{
|
||||
$this->level = $level;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -141,11 +147,13 @@ class LogEntry
|
||||
|
||||
/**
|
||||
* @param mixed $levelName
|
||||
*
|
||||
* @return LogEntry
|
||||
*/
|
||||
public function setLevelName($levelName)
|
||||
{
|
||||
$this->levelName = $levelName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -159,11 +167,13 @@ class LogEntry
|
||||
|
||||
/**
|
||||
* @param mixed $channel
|
||||
*
|
||||
* @return LogEntry
|
||||
*/
|
||||
public function setChannel($channel)
|
||||
{
|
||||
$this->channel = $channel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -177,11 +187,13 @@ class LogEntry
|
||||
|
||||
/**
|
||||
* @param mixed $createdAt
|
||||
*
|
||||
* @return LogEntry
|
||||
*/
|
||||
public function setCreatedAt($createdAt)
|
||||
{
|
||||
$this->createdAt = $createdAt;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user