protected function parseGroupOpen(Token\Group\Open $token, \SplStack $stack) 
	{
		$group = new Element\Group();
		
		// if the group is not the root
		if ($stack->count() > 0) {
			// set the parent-child and child-parent relationships
			$group->setParent($stack->top());
			$stack->top()->appendChild($group);
		}
		
		$stack->push($group);
		
		return;
	}
protected function parseGroupOpen(Token\Group\Open $token, \SplStack $stack) 
	{
		$group = new Element\Group();
		
		// if the group is not the root
		if ($stack->count() > 0) {
			// set the parent-child and child-parent relationships
			$group->setParent($stack->top());
			$stack->top()->appendChild($group);
		}
		
		$stack->push($group);
		
		return;
	}
protected function parseGroupOpen ( Token \ Group \ Open $ token , \ SplStack $ stack ) { $ group = new Element \ Group ( ) ; // if the group is not the root if ( $ stack -> count ( ) > 0 ) { // set the parent-child and child-parent relationships $ group -> setParent ( $ stack -> top ( ) ) ; $ stack -> top ( ) -> appendChild ( $ group ) ; } $ stack -> push ( $ group ) ; return ; }
Parses a group-open token

@param  Jstewmc\Rtf\Token\Group\Open  $token  the group-open token
@param  SplStack                      $stack  the group stack
@param  Jstewmc\Rtf\Element\Group     $root   the root group (optional; if
omitted, defaults to null)
@return  void
@since  0.1.0
Parses a group - open token