Skip to content

Commit 702a01a

Browse files
committed
Add PHPDocs to new View methods
1 parent 4113f0f commit 702a01a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/View.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,17 +387,38 @@ public function setDebugCollector(ViewCollector $debugCollector) : static
387387
return $this;
388388
}
389389

390+
/**
391+
* Tells if it is showing debug comments when in debug mode.
392+
*
393+
* @since 3.2
394+
*
395+
* @return bool
396+
*/
390397
public function isShowingDebugComments() : bool
391398
{
392399
return $this->showDebugComments;
393400
}
394401

402+
/**
403+
* Enable debug comments when in debug mode.
404+
*
405+
* @since 3.2
406+
*
407+
* @return static
408+
*/
395409
public function enableDebugComments() : static
396410
{
397411
$this->showDebugComments = true;
398412
return $this;
399413
}
400414

415+
/**
416+
* Disable debug comments when in debug mode.
417+
*
418+
* @since 3.2
419+
*
420+
* @return static
421+
*/
401422
public function disableDebugComments() : static
402423
{
403424
$this->showDebugComments = false;

0 commit comments

Comments
 (0)