| 1 | <?php |
||
| 8 | final class Debug |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | public static $scope = array(); |
||
| 14 | |||
| 15 | public static $scopeChange = array(); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return mixed |
||
| 19 | */ |
||
| 20 | public static function getScope() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Keeps track of scope |
||
| 27 | * |
||
| 28 | * @param string $scope |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | 8 | public static function enterScope($scope) |
|
| 40 | |||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $scope |
||
| 44 | * @throws ScopeException |
||
| 45 | * @return void |
||
| 46 | */ |
||
| 47 | 8 | public static function exitScope($scope) |
|
| 55 | } |
||
| 56 |