protected function parseVCalendarComponents(Component $parentComponent)
    {
        foreach ($this->pointer['value'] ?: [] as $children) {
            switch (static::getTagName($children['name'])) {
                case 'properties':
                    $this->pointer = &$children['value'];
                    $this->parseProperties($parentComponent);
                    break;

                case 'components':
                    $this->pointer = &$children;
                    $this->parseComponent($parentComponent);
                    break;
            }
        }
    }
protected function parseVCalendarComponents(Component $parentComponent)
    {
        foreach ($this->pointer['value'] ?: [] as $children) {
            switch (static::getTagName($children['name'])) {
                case 'properties':
                    $this->pointer = &$children['value'];
                    $this->parseProperties($parentComponent);
                    break;

                case 'components':
                    $this->pointer = &$children;
                    $this->parseComponent($parentComponent);
                    break;
            }
        }
    }
protected function parseVCalendarComponents ( Component $ parentComponent ) { foreach ( $ this -> pointer [ 'value' ] ? : [ ] as $ children ) { switch ( static :: getTagName ( $ children [ 'name' ] ) ) { case 'properties' : $ this -> pointer = & $ children [ 'value' ] ; $ this -> parseProperties ( $ parentComponent ) ; break ; case 'components' : $ this -> pointer = & $ children ; $ this -> parseComponent ( $ parentComponent ) ; break ; } } }
Parse a xCalendar component.

@param Component $parentComponent
Parse a xCalendar component .