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