public function getScope() {
		$calledHere = $this->backTrace[$this->backTraceOffset+1];

		if (isset($calledHere['class'])) {
			return (object) array(
				'type' => 'Method',
				'name' => $calledHere['class'].$calledHere['type'].$calledHere['function']
			);
		} elseif(isset($calledHere['function'])) {
			return (object) array(
				'type' => 'Function',
				'name' => $calledHere['function']
			);
		} else {
			return (object) array(
				'type' => 'global'
			);
		}
	}
public function getScope() {
		$calledHere = $this->backTrace[$this->backTraceOffset+1];

		if (isset($calledHere['class'])) {
			return (object) array(
				'type' => 'Method',
				'name' => $calledHere['class'].$calledHere['type'].$calledHere['function']
			);
		} elseif(isset($calledHere['function'])) {
			return (object) array(
				'type' => 'Function',
				'name' => $calledHere['function']
			);
		} else {
			return (object) array(
				'type' => 'global'
			);
		}
	}
public function getScope ( ) { $ calledHere = $ this -> backTrace [ $ this -> backTraceOffset + 1 ] ; if ( isset ( $ calledHere [ 'class' ] ) ) { return ( object ) array ( 'type' => 'Method' , 'name' => $ calledHere [ 'class' ] . $ calledHere [ 'type' ] . $ calledHere [ 'function' ] ) ; } elseif ( isset ( $ calledHere [ 'function' ] ) ) { return ( object ) array ( 'type' => 'Function' , 'name' => $ calledHere [ 'function' ] ) ; } else { return ( object ) array ( 'type' => 'global' ) ; } }
Get the current function or method scope according to the backtraceOffset

@return object
Get the current function or method scope according to the backtraceOffset