Get facts.

@return array
12145
public function getFacts()
    {
        if ($this->facts === null) {
            $this->setFacts($this->nodeService->getNodeFacts($this->getName()));
        }
        return $this->facts;
    }
1010324
private function getAllInfo()
    {
        $data = [];
        foreach ($this->_parser->find('.genre-list a') as $each_genre) {
            $genre = [];

            $link = $each_genre->href;
            $link = explode('/', $link);
            $id = $link[3];
            $genre['id'] = $id;

            $name = str_replace('_', ' ', $link[4]);
            $genre['name'] = $name;

            $genre['count'] = $this->getGenreCount($each_genre);

            $data[] = $genre;
        }

        return $data;
    }
705949
public function get()
    {
        if (!$this->raw) {
            $statements = [];

            foreach ($this->statements as $statement) {
                $statements[] = $statement->get();
            }

            return $statements;
        }

        return $this->statements;
    }
1020615
public function info()
    {
        $data = [
            'displayName' => [
                'value' => $this->name
            ],
            'spanId' => $this->spanId,
            'startTime' => $this->startTime,
            'endTime' => $this->endTime
        ];
        if ($this->parentSpanId) {
            $data['parentSpanId'] = $this->parentSpanId;
        }
        if ($this->attributes) {
            $data['attributes'] = $this->attributes->info();
        }
        if ($this->timeEvents) {
            $data['timeEvents'] = [
                'timeEvent' => array_map(function ($timeEvent) {
                    return $timeEvent->info();
                }, $this->timeEvents)
            ];
        }
        if ($this->links) {
            $data['links'] = [
                'link' => array_map(function ($link) {
                    return $link->info();
                }, $this->links)
            ];
        }
        if ($this->status) {
            $data['status'] = $this->status->info();
        }
        if ($this->stackTrace) {
            $data['stackTrace'] = $this->stackTrace->info();
        }
        if ($this->sameProcessAsParentSpan !== null) {
            $data['sameProcessAsParentSpan'] = $this->sameProcessAsParentSpan;
        }
        return $data;
    }
453901
public function get(): array
    {
        $dataFetcher = new DataFetcher($this->httpClient);

        $this->data = $dataFetcher->get($this->query, $this->pluck);

        return $this->data;
    }
1196276
public function details() : array
    {
        $now = Carbon::now();

        return [
            'name' => $this->name,
            'size' => $this->fileSize,
            'offset' => $this->offset,
            'checksum' => $this->checksum,
            'location' => $this->location,
            'file_path' => $this->filePath,
            'created_at' => $now->format($this->cache::RFC_7231),
            'expires_at' => $now->addSeconds($this->cache->getTtl())->format($this->cache::RFC_7231),
        ];
    }
917778
private function getAllInfo()
    {
        $data = [];
        $anime_table = $this->_parser->find('div[class="seasonal-anime js-seasonal-anime"]');
        foreach ($anime_table as $each_anime) {
            $result = [];

            $name_area = $each_anime->find('div[class=title]', 0);
            $producer_area = $each_anime->find('div[class=prodsrc]', 0);
            $info_area = $each_anime->find('.information', 0);

            $result['image'] = $this->getAnimeImage($each_anime);
            $result['id'] = $this->getAnimeId($name_area);
            $result['title'] = $this->getAnimeTitle($name_area);
            $result['genre'] = $this->getAnimeGenre($each_anime);
            $result['synopsis'] = $this->getAnimeSynopsis($each_anime);
            $result['source'] = $this->getAnimeSource($producer_area);

            if ($this->_type == 'anime') {
                $result['producer'] = $this->getAnimeProducer($producer_area);
                $result['episode'] = $this->getAnimeEpisode($producer_area);
                $result['licensor'] = $this->getAnimeLicensor($each_anime);
                $result['type'] = $this->getAnimeType($info_area);
            } else {
                $result['author'] = $this->getAnimeProducer($producer_area);
                $result['volume'] = $this->getAnimeEpisode($producer_area);
                $result['serialization'] = $this->getAnimeLicensor($each_anime);
            }

            $result['airing_start'] = $this->getAnimeStart($info_area);
            $result['member'] = $this->getAnimeMember($info_area);
            $result['score'] = $this->getAnimeScore($info_area);

            $data[] = $result;
        }

        return $data;
    }
980155
public function getFactsCount()
	{
		if ( is_null( $this->facts ) || ! $this->facts instanceof XPath2NodeIterator )
		{
			return 0;
		}

		return $this->facts->getCount();
	}
252780
private function getAllInfo()
    {
        $data = [];
        $data_index = 0;
        $top_table = $this->_parser->find('.characters-favorites-ranking-table', 0);
        foreach ($top_table->find('tr[class=ranking-list]') as $each_char) {
            $name_area = $each_char->find('.people', 0);

            $data[$data_index]['rank'] = $this->getRank($each_char);
            $data[$data_index]['id'] = $this->getId($name_area);
            $data[$data_index]['name'] = $this->getName($name_area);
            $data[$data_index]['japanese_name'] = $this->getJapaneseName($name_area);
            $data[$data_index]['image'] = $this->getImage($name_area);
            $data[$data_index]['animeography'] = $this->getRole($each_char, '.animeography');
            $data[$data_index]['mangaography'] = $this->getRole($each_char, '.mangaography');
            $data[$data_index]['favorite'] = $this->getFavorite($each_char);

            $data_index++;
        }

        return $data;
    }
816589
public function getStats() {
		return array(
			'inserts' => $this->cacheInserts,
			'deletes' => $this->cacheDeletes,
			'max'     => $this->maxCacheCount,
			'count'   => $this->count,
			'hits'    => $this->cacheHits,
			'misses'  => $this->cacheMisses
		);
	}
39868
public function getData()
    {
        $data = [];

        $problems = $this->fetcher->fetch();

        $allowedSeverities = [
            Problem::SEVERITY_CRITICAL,
            Problem::SEVERITY_WARNING,
        ];

        foreach ($problems as $problem) {
            if (!in_array($problem->getSeverity(), $allowedSeverities)) {
                continue;
            }

            $data[] = [
                'id' => strlen($problem->getId()) ? $problem->getId() : md5(serialize($problem)),
                'iconCls' => $problem->getIconClass(),
                'severity' => $problem->getSeverity(),
                'msg' => $problem->getMessage(),
                'hint' => $problem->getHint(),
                'link' => $problem->getLink(),
            ];
        }

        if (!count($data)) {
            $data = false;
        }

        return $data;
    }
777383
public function getStat()
    {
        $sources = [];
        $names = [];
        foreach ($this->lines as $line) {
            $line->loadStat($sources, $names);
        }
        return [
            'sources' => $sources,
            'names' => $names,
        ];
    }
807981
public function getCampaignSeries()
    {
        $locationFacts = $this->getLocationFacts();
        $seriesData = [];
        $metricIds = [];

        foreach ($locationFacts as $locationFact) {
            $factsData = $this->getFacts($locationFact->getLocation());
            $seriesData[] = [
                'location' => $locationFact->getLocation(),
                'dimensions' => $factsData,
            ];

            $usedMetricIds = array_keys($factsData);
            foreach ($usedMetricIds as $metricId) {
                if (in_array($metricId, $metricIds)) {
                    continue;
                }
                $metricIds[] = $metricId;
            }
        }

        return [
            'data' => $seriesData,
            'metricNames' => $this->getMetricNamesById($metricIds),
        ];
    }
770700
private function getAllInfo()
    {
        $data = [];
        $offset = 0;
        while (true) {
            $url = $this->_myAnimeListUrl.'/'.$this->_type.'list/'.$this->_user.'/load.json?offset='.$offset.'&status='.$this->_status;

            $content = json_decode(file_get_contents($url), true);

            if ($content) {
                $count = count($content);
                for ($i = 0; $i < $count; $i++) {
                    if (!empty($content[$i]['anime_image_path'])) {
                        $content[$i]['anime_image_path'] = Helper::imageUrlCleaner($content[$i]['anime_image_path']);
                    } else {
                        $content[$i]['manga_image_path'] = Helper::imageUrlCleaner($content[$i]['manga_image_path']);
                    }
                }

                $data = array_merge($data, $content);

                $offset += 300;
            } else {
                break;
            }
        }

        return $data;
    }
90284
public function getStats()
    {
        if (!$this->enabled)
            return array();

        $stats = @$this->getConnection()->getStats();

        $this->Logger->debug('Retrieved Stats');
        $this->Logger->debug($stats);

        return $stats;
    }
409392
public function getRouteInfo()
    {
        if ($this->isSingle()) {
            if (isset($this->containers['route_info']) && ($controller = $this->containers['route_info']->get('controller')) 
                && ($action = $this->containers['route_info']->get('action'))
            ) {
                return ['controller' => $controller, 'action' => $action];
            }
        }
        return ['controller' => 'index', 'action' => 'index'];
    }
435231
public FactHandle[] getFactHandles() {
        int size = size();
        FactHandle[] subArray = new FactHandle[ size];

        System.arraycopy( this.row.getHandles(), 1, subArray, 0, size );
        return subArray;
    }