public function getFrozenPackages()
    {
        $frozenPackages = [];
        if ($this->bootstrap->getContext()->isDevelopment()) {
            /** @var PackageInterface $package */
            foreach ($this->packages as $packageKey => $package) {
                if (isset($this->packageStatesConfiguration['packages'][$package->getComposerName()]['frozen']) &&
                    $this->packageStatesConfiguration['packages'][$package->getComposerName()]['frozen'] === true
                ) {
                    $frozenPackages[$packageKey] = $package;
                }
            }
        }

        return $frozenPackages;
    }
public function getFrozenPackages()
    {
        $frozenPackages = [];
        if ($this->bootstrap->getContext()->isDevelopment()) {
            /** @var PackageInterface $package */
            foreach ($this->packages as $packageKey => $package) {
                if (isset($this->packageStatesConfiguration['packages'][$package->getComposerName()]['frozen']) &&
                    $this->packageStatesConfiguration['packages'][$package->getComposerName()]['frozen'] === true
                ) {
                    $frozenPackages[$packageKey] = $package;
                }
            }
        }

        return $frozenPackages;
    }
public function getFrozenPackages ( ) { $ frozenPackages = [ ] ; if ( $ this -> bootstrap -> getContext ( ) -> isDevelopment ( ) ) { /** @var PackageInterface $package */ foreach ( $ this -> packages as $ packageKey => $ package ) { if ( isset ( $ this -> packageStatesConfiguration [ 'packages' ] [ $ package -> getComposerName ( ) ] [ 'frozen' ] ) && $ this -> packageStatesConfiguration [ 'packages' ] [ $ package -> getComposerName ( ) ] [ 'frozen' ] === true ) { $ frozenPackages [ $ packageKey ] = $ package ; } } } return $ frozenPackages ; }
Returns an array of PackageInterface objects of all frozen packages.
A frozen package is not considered by file monitoring and provides some
precompiled reflection data in order to improve performance.

@return array<PackageInterface>
Returns an array of PackageInterface objects of all frozen packages . A frozen package is not considered by file monitoring and provides some precompiled reflection data in order to improve performance .