File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -387,17 +387,38 @@ public function setDebugCollector(ViewCollector $debugCollector) : static
387
387
return $ this ;
388
388
}
389
389
390
+ /**
391
+ * Tells if it is showing debug comments when in debug mode.
392
+ *
393
+ * @since 3.2
394
+ *
395
+ * @return bool
396
+ */
390
397
public function isShowingDebugComments () : bool
391
398
{
392
399
return $ this ->showDebugComments ;
393
400
}
394
401
402
+ /**
403
+ * Enable debug comments when in debug mode.
404
+ *
405
+ * @since 3.2
406
+ *
407
+ * @return static
408
+ */
395
409
public function enableDebugComments () : static
396
410
{
397
411
$ this ->showDebugComments = true ;
398
412
return $ this ;
399
413
}
400
414
415
+ /**
416
+ * Disable debug comments when in debug mode.
417
+ *
418
+ * @since 3.2
419
+ *
420
+ * @return static
421
+ */
401
422
public function disableDebugComments () : static
402
423
{
403
424
$ this ->showDebugComments = false ;
You can’t perform that action at this time.
0 commit comments