private function loadFromCache(bool $development, string $cacheFile = null): array
    {
        $bundleConfigs = is_file($cacheFile) ? include $cacheFile : null;

        if (!\is_array($bundleConfigs) || 0 === \count($bundleConfigs)) {
            $bundleConfigs = $this->loadFromPlugins($development, $cacheFile);
        }

        return $bundleConfigs;
    }
private function loadFromCache(bool $development, string $cacheFile = null): array
    {
        $bundleConfigs = is_file($cacheFile) ? include $cacheFile : null;

        if (!\is_array($bundleConfigs) || 0 === \count($bundleConfigs)) {
            $bundleConfigs = $this->loadFromPlugins($development, $cacheFile);
        }

        return $bundleConfigs;
    }
private function loadFromCache ( bool $ development , string $ cacheFile = null ) : array { $ bundleConfigs = is_file ( $ cacheFile ) ? include $ cacheFile : null ; if ( ! \ is_array ( $ bundleConfigs ) || 0 === \ count ( $ bundleConfigs ) ) { $ bundleConfigs = $ this -> loadFromPlugins ( $ development , $ cacheFile ) ; } return $ bundleConfigs ; }
Loads the bundles map from cache.

@return ConfigInterface[]
Loads the bundles map from cache .