src/Viserio/Bridge/Twig/DataCollector/TwigDataCollector.php
private function getComputedData(string $index)
    {
        if (\count($this->computed) === 0) {
            $this->computed = $this->generateComputeData($this->getProfile());
        }

        return $this->computed[$index];
    }
private function getComputedData(string $index)
    {
        if (\count($this->computed) === 0) {
            $this->computed = $this->generateComputeData($this->getProfile());
        }

        return $this->computed[$index];
    }
Get computed data.

@param string $index

@return mixed