We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f86c7 commit de33db2Copy full SHA for de33db2
src/Handler/DebugHandler.php
@@ -2,12 +2,14 @@
2
3
namespace Markdom\Handler;
4
5
+use Markdom\HandlerInterface\HandlerInterface;
6
+
7
/**
8
* Class JsonHandler
9
*
10
* @package Markdom\Handler
11
*/
-class DebugHandler extends PhpObjectHandler
12
+class DebugHandler implements HandlerInterface
13
{
14
15
@@ -67,6 +69,15 @@ public function onCodeBlock($code, $hint = null)
67
69
$this->output[] = $this->getIndentation() . __FUNCTION__ . ': ' . $hint . ' ~ ' . $code;
68
70
}
71
72
+ /**
73
+ * @param $comment
74
+ * @return void
75
+ */
76
+ public function onCommentBlock($comment)
77
+ {
78
+ $this->output[] = $this->getIndentation() . __FUNCTION__ . ': ' . $comment;
79
+ }
80
81
82
* @return void
83
0 commit comments