| Total Complexity | 2 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | class JSON implements Formatter |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Environment |
||
| 18 | */ |
||
| 19 | private $env = null; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * JSON constructor. |
||
| 23 | * @param Environment $env |
||
| 24 | */ |
||
| 25 | public function __construct(Environment $env) |
||
| 26 | { |
||
| 27 | $this->env = $env; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $scene |
||
| 32 | * @param string $level |
||
| 33 | * @param string $message |
||
| 34 | * @param array $context |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function render(string $scene, string $level, string $message, array $context) : string |
||
| 52 | } |
||
| 53 | } |
||
| 54 |