ReaderTracker
in package
Table of Contents
- $currentDepth : int
- $maxDepth : int
- __construct() : mixed
- protectDepth() : void
Properties
$currentDepth
private
int
$currentDepth
= 0
$maxDepth
private
int
$maxDepth
Methods
__construct()
public
__construct(int $maxDepth) : mixed
Parameters
- $maxDepth : int
Return values
mixed —protectDepth()
public
protectDepth(Closure $execute) : void
Parameters
- $execute : Closure