public function getRootContext()
    {
        if ($parentContext = $this->getParentContext()) {
            if ($parentContext instanceof ParentDelegationBuilder) {
                return $parentContext->getRootContext();
            }
            return $parentContext;
        }

        return $this;
    }
public function getRootContext()
    {
        if ($parentContext = $this->getParentContext()) {
            if ($parentContext instanceof ParentDelegationBuilder) {
                return $parentContext->getRootContext();
            }
            return $parentContext;
        }

        return $this;
    }
public function getRootContext ( ) { if ( $ parentContext = $ this -> getParentContext ( ) ) { if ( $ parentContext instanceof ParentDelegationBuilder ) { return $ parentContext -> getRootContext ( ) ; } return $ parentContext ; } return $ this ; }
Returns the root context
@return Builder
Returns the root context