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