First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
25
tests/_support/Log/Handlers/MockChromeHandler.php
Normal file
25
tests/_support/Log/Handlers/MockChromeHandler.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php namespace Tests\Support\Log\Handlers;
|
||||
|
||||
/**
|
||||
* Class MockHandler
|
||||
*
|
||||
* Extends ChromeLoggerHandler, exposing some inner workings
|
||||
*/
|
||||
|
||||
class MockChromeHandler extends \CodeIgniter\Log\Handlers\ChromeLoggerHandler
|
||||
{
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
public function __construct(array $config)
|
||||
{
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
// retrieve the message from the JSON response
|
||||
public function peekaboo()
|
||||
{
|
||||
return $this->json['rows'][0];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user