From bfda68c97c8643fe9ddd0b9b5110ce335d08eb5b Mon Sep 17 00:00:00 2001 From: filp Date: Wed, 13 Mar 2013 23:12:18 +0000 Subject: [PATCH] Rename PrettyPage -> PrettyPageHandler for consistency --- example.php | 4 ++-- src/Damnit/Handler/{PrettyPage.php => PrettyPageHandler.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/Damnit/Handler/{PrettyPage.php => PrettyPageHandler.php} (98%) diff --git a/example.php b/example.php index 73b14c0..c769877 100644 --- a/example.php +++ b/example.php @@ -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) { diff --git a/src/Damnit/Handler/PrettyPage.php b/src/Damnit/Handler/PrettyPageHandler.php similarity index 98% rename from src/Damnit/Handler/PrettyPage.php rename to src/Damnit/Handler/PrettyPageHandler.php index 4ffc9e9..f6050e9 100644 --- a/src/Damnit/Handler/PrettyPage.php +++ b/src/Damnit/Handler/PrettyPageHandler.php @@ -8,7 +8,7 @@ namespace Damnit\Handler; use Damnit\Handler\Handler; use InvalidArgumentException; -class PrettyPage extends Handler +class PrettyPageHandler extends Handler { /** * @var string