Rename PrettyPage -> PrettyPageHandler for consistency

This commit is contained in:
filp
2013-03-13 23:12:18 +00:00
parent cfcd146770
commit bfda68c97c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
namespace Damnit\Example;
use Damnit\Run;
use Damnit\Handler\PrettyPage;
use Damnit\Handler\PrettyPageHandler;
use Exception as BaseException;
require __DIR__ . '/vendor/autoload.php';
@@ -23,7 +23,7 @@ require __DIR__ . '/vendor/autoload.php';
class Exception extends BaseException {}
$run = new Run;
$run->pushHandler(new PrettyPage);
$run->pushHandler(new PrettyPageHandler);
// Example: tag all frames with a comment
$run->pushHandler(function($exception, $inspector, $run) {
@@ -8,7 +8,7 @@ namespace Damnit\Handler;
use Damnit\Handler\Handler;
use InvalidArgumentException;
class PrettyPage extends Handler
class PrettyPageHandler extends Handler
{
/**
* @var string