40 return $this->stack[count( $this->stack ) - 1];
52 $this->stack[count( $this->stack )] = $scope;
63 if ( count( $this->stack ) <= 1 ) {
64 throw new LogicException(
"Cannot pop root stack scope; something is out of sync" );
67 return array_pop( $this->stack );
76 return count( $this->stack ) - 1;
DeferredUpdates helper class for tracking DeferrableUpdate::doUpdate() nesting levels caused by neste...
getRecursiveDepth()
Get the depth of the scope stack below the root scope.
ascend()
Pop the innermost scope from the stack.
descend( $activeStage, DeferrableUpdate $update)
Make a new child scope, push it onto the stack, and return it.
DeferredUpdates helper class for managing DeferrableUpdate::doUpdate() nesting levels caused by neste...
static newChildScope( $activeStage, DeferrableUpdate $update, DeferredUpdatesScope $parentScope)
Interface that deferrable updates should implement.