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;
    }