protected function collectVarData(): array
	{
		$data = [];

		foreach ($this->collectors as $collector)
		{
			if (! $collector->hasVarData())
			{
				continue;
			}

			$data = array_merge($data, $collector->getVarData());
		}

		return $data;
	}
protected function collectVarData(): array
	{
		$data = [];

		foreach ($this->collectors as $collector)
		{
			if (! $collector->hasVarData())
			{
				continue;
			}

			$data = array_merge($data, $collector->getVarData());
		}

		return $data;
	}
protected function collectVarData ( ) : array { $ data = [ ] ; foreach ( $ this -> collectors as $ collector ) { if ( ! $ collector -> hasVarData ( ) ) { continue ; } $ data = array_merge ( $ data , $ collector -> getVarData ( ) ) ; } return $ data ; }
Returns an array of data from all of the modules
that should be displayed in the 'Vars' tab.

@return array
Returns an array of data from all of the modules that should be displayed in the Vars tab .