/** * Get formatted groups. * * @return array */ protected function getFormattedGroups() { if (!isset($this->formattedData['groups'])) { $this->formattedData['groups'] = $this->formatter->getGroups(); } return $this->formattedData['groups']; }
/** * Get formatted groups, if either "createMissing" groups option is true. * * @return array */ protected function getFormattedGroups() { if (!isset($this->formattedData['groups'])) { $this->formattedData['groups'] = array(); if ($this->options['groups']['createMissing']) { $this->formattedData['groups'] = $this->formatter->getGroups(); } } return $this->formattedData['groups']; }