src/Zicht/Tool/Debug.php
public static function enterScope($scope)
    {
        if (!is_scalar($scope)) {
            throw new \InvalidArgumentException("Only scalars allowed as scope identifiers");
        }
        array_push(self::$scope, $scope);
        list($call) = debug_backtrace(0);
        array_push(self::$scopeChange, $call);
    }
public static function enterScope($scope)
    {
        if (!is_scalar($scope)) {
            throw new \InvalidArgumentException("Only scalars allowed as scope identifiers");
        }
        array_push(self::$scope, $scope);
        list($call) = debug_backtrace(0);
        array_push(self::$scopeChange, $call);
    }
public static function enterScope ( $ scope ) { if ( ! is_scalar ( $ scope ) ) { throw new \ InvalidArgumentException ( "Only scalars allowed as scope identifiers" ) ; } array_push ( self :: $ scope , $ scope ) ; list ( $ call ) = debug_backtrace ( 0 ) ; array_push ( self :: $ scopeChange , $ call ) ; }
Keeps track of scope

@param string $scope
@return void
Keeps track of scope