| Total Complexity | 4 | 
| Total Lines | 53 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 18 | class LogRecord  | 
            ||
| 19 | { | 
            ||
| 20 | /** @var string The log records level. */  | 
            ||
| 21 | private $level;  | 
            ||
| 22 | |||
| 23 | /** @var string The log record message. */  | 
            ||
| 24 | private $message;  | 
            ||
| 25 | |||
| 26 | /** @var mixed[] The log record context. */  | 
            ||
| 27 | private $context;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * Construct a log record object with the given level, message & context.  | 
            ||
| 31 | *  | 
            ||
| 32 | * @param string $level  | 
            ||
| 33 | * @param string $message  | 
            ||
| 34 | * @param mixed[] $context = []  | 
            ||
| 35 | */  | 
            ||
| 36 | 13 | public function __construct($level, $message, array $context = [])  | 
            |
| 37 | 	{ | 
            ||
| 38 | 13 | $this->level = $level;  | 
            |
| 39 | 13 | $this->message = $message;  | 
            |
| 40 | 13 | $this->context = $context;  | 
            |
| 41 | 13 | }  | 
            |
| 42 | |||
| 43 | /**  | 
            ||
| 44 | * Returns the level.  | 
            ||
| 45 | *  | 
            ||
| 46 | * @return string the level.  | 
            ||
| 47 | */  | 
            ||
| 48 | 11 | public function getLevel()  | 
            |
| 51 | }  | 
            ||
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * Returns the message.  | 
            ||
| 55 | *  | 
            ||
| 56 | * @return string the message.  | 
            ||
| 57 | */  | 
            ||
| 58 | 11 | public function getMessage()  | 
            |
| 61 | }  | 
            ||
| 62 | |||
| 63 | /**  | 
            ||
| 64 | * Returns the context.  | 
            ||
| 65 | *  | 
            ||
| 66 | * @return mixed[] the context.  | 
            ||
| 67 | */  | 
            ||
| 68 | 1 | public function getContext()  | 
            |
| 73 |